Commit cf25fa8e authored by vvb2060's avatar vvb2060 Committed by John Wu

Update build.gradle

parent 3f053b85
...@@ -24,11 +24,9 @@ android { ...@@ -24,11 +24,9 @@ android {
versionCode = Config["appVersionCode"]?.toInt() versionCode = Config["appVersionCode"]?.toInt()
buildConfigField("int", "LATEST_MAGISK", Config["versionCode"] ?: "Integer.MAX_VALUE") buildConfigField("int", "LATEST_MAGISK", Config["versionCode"] ?: "Integer.MAX_VALUE")
javaCompileOptions { javaCompileOptions.annotationProcessorOptions.arguments(
annotationProcessorOptions { mapOf("room.incremental" to "true")
arguments = mapOf("room.incremental" to "true") )
}
}
} }
buildTypes { buildTypes {
...@@ -86,7 +84,6 @@ dependencies { ...@@ -86,7 +84,6 @@ dependencies {
implementation("com.jakewharton.timber:timber:4.7.1") implementation("com.jakewharton.timber:timber:4.7.1")
implementation(kotlin("stdlib")) implementation(kotlin("stdlib"))
implementation(kotlin("stdlib-jdk7"))
val vBAdapt = "4.0.0" val vBAdapt = "4.0.0"
val bindingAdapter = "me.tatarka.bindingcollectionadapter2:bindingcollectionadapter" val bindingAdapter = "me.tatarka.bindingcollectionadapter2:bindingcollectionadapter"
......
...@@ -18,9 +18,9 @@ val jar by tasks.getting(Jar::class) { ...@@ -18,9 +18,9 @@ val jar by tasks.getting(Jar::class) {
} }
val shadowJar by tasks.getting(ShadowJar::class) { val shadowJar by tasks.getting(ShadowJar::class) {
baseName = "zipsigner" archiveBaseName.set("zipsigner")
classifier = null archiveClassifier.set(null as String?)
version = "4.0" archiveVersion.set("4.0")
} }
repositories { repositories {
......
...@@ -11,7 +11,6 @@ buildscript { ...@@ -11,7 +11,6 @@ buildscript {
repositories { repositories {
google() google()
jcenter() jcenter()
maven { url = uri("http://storage.googleapis.com/r8-releases/raw") }
maven { url = uri("https://kotlin.bintray.com/kotlinx") } maven { url = uri("https://kotlin.bintray.com/kotlinx") }
} }
...@@ -95,7 +94,7 @@ subprojects { ...@@ -95,7 +94,7 @@ subprojects {
signingConfigs { signingConfigs {
create("config") { create("config") {
Config["keyStore"]?.also { Config["keyStore"]?.also {
storeFile = File(it) storeFile = rootProject.file(it)
storePassword = Config["keyStorePass"] storePassword = Config["keyStorePass"]
keyAlias = Config["keyAlias"] keyAlias = Config["keyAlias"]
keyPassword = Config["keyPass"] keyPassword = Config["keyPass"]
......
...@@ -20,6 +20,11 @@ android { ...@@ -20,6 +20,11 @@ android {
) )
} }
} }
dependenciesInfo {
includeInApk = false
includeInBundle = false
}
} }
dependencies { dependencies {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment