Skip to content

Commit

Permalink
08/07/2024.
Browse files Browse the repository at this point in the history
  • Loading branch information
youndon committed Jul 8, 2024
1 parent c0bad57 commit cc49166
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 2 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/appSweep.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
name: AppSweep mobile application security testing
on: [pull_request_target]
jobs:
upload-app-to-appsweep:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v2
- name: Upload app to AppSweep with Gradle
env:
APPSWEEP_API_KEY: ${{ secrets.APP_SWEEP_SECRET_KEY }}
run: ./gradlew uploadToAppSweepRelease
3 changes: 1 addition & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
import com.android.build.gradle.internal.scope.ProjectInfo.Companion.getBaseName

@Suppress("DSL_SCOPE_VIOLATION")
plugins {
alias(libs.plugins.cityzouitel.androidApplication)
alias(libs.plugins.ksp)
alias(libs.plugins.licenses)
alias(libs.plugins.enigma)
alias(libs.plugins.appsweep)
}

android {
Expand Down
1 change: 1 addition & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ kotlinAndroid = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
androidLibrary = { id = "com.android.library", version.ref = "agp" }
licenses = { id = "com.mikepenz.aboutlibraries.plugin", version.ref = "license" }
enigma = { id = "com.chrisney.enigma", version.ref = "enigma" }
appsweep = { id = "com.guardsquare.appsweep", version = "latest.release" }

#Local.
cityzouitel-androidLibrary = { id = "city.zouitel.android.library", version = "unspecified" }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
package city.zouitel.screens.main_screen

import android.annotation.SuppressLint
import androidx.compose.animation.AnimatedVisibility
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.WindowInsets
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.imePadding
import androidx.compose.foundation.layout.navigationBarsPadding
import androidx.compose.foundation.layout.systemBarsPadding
import androidx.compose.foundation.layout.waterfall
Expand Down Expand Up @@ -43,6 +45,7 @@ import androidx.compose.ui.platform.LocalContext
import androidx.compose.ui.platform.LocalInputModeManager
import androidx.compose.ui.res.painterResource
import androidx.compose.ui.unit.Density
import androidx.compose.ui.util.fastAny
import cafe.adriel.voyager.core.screen.Screen
import cafe.adriel.voyager.koin.getScreenModel
import cafe.adriel.voyager.navigator.LocalNavigator
Expand Down

0 comments on commit cc49166

Please sign in to comment.