11plugins {
2- autowire (libs.plugins.android.application)
3- autowire (libs.plugins.kotlin.android)
4- autowire (libs.plugins.kotlin.ksp)
2+ alias (libs.plugins.android.application)
3+ alias (libs.plugins.kotlin.android)
4+ alias (libs.plugins.kotlin.ksp)
55}
66
77android {
8- namespace = property .project.app.packageName
9- compileSdk = property .project.android.compileSdk
8+ namespace = gropify .project.app.packageName
9+ compileSdk = gropify .project.android.compileSdk
1010
1111 signingConfigs {
1212 create(" universal" ) {
13- keyAlias = property .project.app.signing.keyAlias
14- keyPassword = property .project.app.signing.keyPassword
15- storeFile = rootProject.file(property .project.app.signing.storeFilePath)
16- storePassword = property .project.app.signing.storePassword
13+ keyAlias = gropify .project.app.signing.keyAlias
14+ keyPassword = gropify .project.app.signing.keyPassword
15+ storeFile = rootProject.file(gropify .project.app.signing.storeFilePath)
16+ storePassword = gropify .project.app.signing.storePassword
1717 enableV1Signing = true
1818 enableV2Signing = true
1919 }
2020 }
2121 defaultConfig {
22- applicationId = property .project.app.packageName
23- minSdk = property .project.android.minSdk
24- targetSdk = property .project.android.targetSdk
25- versionName = property .project.app.versionName
26- versionCode = property .project.app.versionCode
22+ applicationId = gropify .project.app.packageName
23+ minSdk = gropify .project.android.minSdk
24+ targetSdk = gropify .project.android.targetSdk
25+ versionName = gropify .project.app.versionName
26+ versionCode = gropify .project.app.versionCode
2727 testInstrumentationRunner = " androidx.test.runner.AndroidJUnitRunner"
2828 }
2929 buildTypes {
@@ -50,40 +50,31 @@ androidComponents {
5050 onVariants(selector().all()) {
5151 it.outputs.forEach { output ->
5252 val currentType = it.buildType
53-
54- // Workaround for GitHub Actions.
55- // Why? I don't know, but it works.
56- // Unresolved reference. None of the following candidates is applicable because of receiver type mismatch:
57- // public inline fun CharSequence.isNotBlank(): Boolean defined in kotlin.text.
58- @Suppress(" UNNECESSARY_SAFE_CALL" , " RemoveRedundantCallsOfConversionMethods" )
59- val currentSuffix = property.github.ci.commit.id?.let { suffix ->
60- // Workaround for GitHub Actions.
61- // Strongly transfer type to [String].
62- val sSuffix = suffix.toString()
63- if (sSuffix.isNotBlank()) " -$sSuffix " else " "
53+ val currentSuffix = gropify.github.ci.commit.id.let { suffix ->
54+ if (suffix.isNotBlank()) " -$suffix " else " "
6455 }
6556 val currentVersion = " ${output.versionName.get()}$currentSuffix (${output.versionCode.get()} )"
6657 if (output is com.android.build.api.variant.impl.VariantOutputImpl )
67- output.outputFileName.set(" ${property .project.name} -v$currentVersion -$currentType .apk" )
58+ output.outputFileName.set(" ${gropify .project.name} -v$currentVersion -$currentType .apk" )
6859 }
6960 }
7061}
7162
7263dependencies {
73- compileOnly(de.robv.android .xposed.api)
74- implementation(com.highcapable. yukihookapi.api )
75- ksp(com.highcapable .yukihookapi.ksp.xposed)
76- implementation(com.highcapable.kavaref .kavaref.core)
77- implementation(com.highcapable.kavaref .kavaref.extension)
78- implementation(com.fankes.projectpromote .project.promote)
79- implementation(com.github.topjohnwu. libsu.core )
80- implementation(com.github.duanhong169 .drawabletoolbox)
81- implementation(com.squareup.okhttp3 .okhttp)
82- implementation(androidx.core .core.ktx)
83- implementation(androidx.appcompat .appcompat)
84- implementation(com.google.android.material .material)
85- implementation(androidx.constraintlayout .constraintlayout)
86- testImplementation(junit .junit)
87- androidTestImplementation(androidx.test.ext.junit)
88- androidTestImplementation(androidx.test.espresso .espresso.core)
64+ compileOnly(libs.rovo89 .xposed.api)
65+ implementation(libs. yukihookapi)
66+ ksp(libs .yukihookapi.ksp.xposed)
67+ implementation(libs .kavaref.core)
68+ implementation(libs .kavaref.extension)
69+ implementation(libs .project.promote)
70+ implementation(libs. libsu)
71+ implementation(libs .drawabletoolbox)
72+ implementation(libs .okhttp)
73+ implementation(libs.androidx .core.ktx)
74+ implementation(libs.androidx .appcompat)
75+ implementation(libs .material)
76+ implementation(libs.androidx .constraintlayout)
77+ testImplementation(libs .junit)
78+ androidTestImplementation(libs. androidx.test.ext.junit)
79+ androidTestImplementation(libs. androidx.test.espresso.core)
8980}
0 commit comments