fix(android): enable AndroidX and modern plugins DSL
This commit is contained in:
@@ -22,9 +22,17 @@ android {
|
||||
storePassword System.getenv("KEY_STORE_PASSWORD") ?: "workhours123"
|
||||
keyAlias System.getenv("ALIAS") ?: "workhours"
|
||||
keyPassword System.getenv("KEY_PASSWORD") ?: "workhours123"
|
||||
if (System.getenv("KEYSTORE_TYPE")) {
|
||||
storeType System.getenv("KEYSTORE_TYPE")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
lint {
|
||||
abortOnError false
|
||||
checkReleaseBuilds false
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
|
||||
@@ -1,13 +1,7 @@
|
||||
buildscript {
|
||||
repositories {
|
||||
google()
|
||||
mavenCentral()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:8.2.2'
|
||||
}
|
||||
plugins {
|
||||
id 'com.android.application' version '8.2.2' apply false
|
||||
}
|
||||
|
||||
task clean(type: Delete) {
|
||||
delete rootProject.buildDir
|
||||
delete rootProject.layout.buildDirectory
|
||||
}
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8
|
||||
android.useAndroidX=true
|
||||
android.enableJetifier=true
|
||||
Reference in New Issue
Block a user