update: jks

This commit is contained in:
lisonge 2021-11-18 21:19:34 +08:00
parent 64e6169321
commit 7ee6497f30
4 changed files with 24 additions and 3 deletions

3
app/.gitignore vendored
View File

@ -1 +1,2 @@
/build /build
/release

BIN
app/android.jks Normal file

Binary file not shown.

View File

@ -19,11 +19,23 @@ android {
useSupportLibrary true useSupportLibrary true
} }
} }
signingConfigs{
release{
storeFile file("./android.jks")
storePassword "KdMQ6pqiNSJ6Sype"
keyAlias "key0"
keyPassword "KdMQ6pqiNSJ6Sype"
}
}
buildTypes { buildTypes {
release { release {
minifyEnabled false minifyEnabled false
proguardFiles getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro" proguardFiles getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro"
signingConfig signingConfigs.release
}
debug{
signingConfig signingConfigs.release
} }
} }
compileOptions { compileOptions {
@ -50,7 +62,7 @@ android {
dependencies { dependencies {
implementation "androidx.core:core-ktx:1.7.0" 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 "com.google.android.material:material:1.4.0"
implementation "androidx.compose.ui:ui:$compose_version" implementation "androidx.compose.ui:ui:$compose_version"
implementation "androidx.compose.material:material:$compose_version" implementation "androidx.compose.material:material:$compose_version"

View File

@ -161,7 +161,15 @@ class AdCloserService : AccessibilityService() {
override fun onInterrupt() { override fun onInterrupt() {
scope.cancel() 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){
//
//}