Skip to content

Commit

Permalink
update: jks
Browse files Browse the repository at this point in the history
  • Loading branch information
lisonge committed Nov 18, 2021
1 parent 64e6169 commit 7ee6497
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 3 deletions.
3 changes: 2 additions & 1 deletion app/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
/build
/build
/release
Binary file added app/android.jks
Binary file not shown.
14 changes: 13 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,23 @@ android {
useSupportLibrary true
}
}
signingConfigs{
release{
storeFile file("./android.jks")
storePassword "KdMQ6pqiNSJ6Sype"
keyAlias "key0"
keyPassword "KdMQ6pqiNSJ6Sype"
}
}

buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro"
signingConfig signingConfigs.release
}
debug{
signingConfig signingConfigs.release
}
}
compileOptions {
Expand All @@ -50,7 +62,7 @@ android {
dependencies {

implementation "androidx.core:core-ktx:1.7.0"
implementation "androidx.appcompat:appcompat:1.3.1"
implementation "androidx.appcompat:appcompat:1.4.0"
implementation "com.google.android.material:material:1.4.0"
implementation "androidx.compose.ui:ui:$compose_version"
implementation "androidx.compose.material:material:$compose_version"
Expand Down
10 changes: 9 additions & 1 deletion app/src/main/java/li/songe/ad_closer/service/AdCloserService.kt
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,15 @@ class AdCloserService : AccessibilityService() {

override fun onInterrupt() {
scope.cancel()
// val invok = {a: Int, b: Int->a+b}

}


}
}
//typealias Test = (a: Int, b: Int) -> Int
//typealias Test = (a: Int, ) -> Int

//fun invok(a: Int, b: Int = 0){
//
//}

0 comments on commit 7ee6497

Please sign in to comment.