mirror of
https://github.com/yairm210/Unciv.git
synced 2025-07-13 01:08:25 +07:00
Build warnings cleanup (#6827)
This commit is contained in:
@ -31,7 +31,7 @@ android {
|
||||
versionCode = BuildConfig.appCodeNumber
|
||||
versionName = BuildConfig.appVersion
|
||||
|
||||
base.archivesBaseName = "Unciv"
|
||||
base.archivesName.set("Unciv")
|
||||
}
|
||||
|
||||
// necessary for Android Work lib
|
||||
@ -53,14 +53,14 @@ android {
|
||||
|
||||
buildTypes {
|
||||
getByName("release") {
|
||||
// If you make this true you get a version of the game that just flat-out does't run
|
||||
// If you make this true you get a version of the game that just flat-out doesn't run
|
||||
isMinifyEnabled = false
|
||||
proguardFiles(getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro")
|
||||
}
|
||||
|
||||
}
|
||||
lint {
|
||||
disable.add("MissingTranslation")
|
||||
disable += "MissingTranslation" // see res/values/strings.xml
|
||||
}
|
||||
compileOptions {
|
||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
@ -123,8 +123,9 @@ tasks.register<JavaExec>("run") {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
// Updating to latest version would require upgrading sourceCompatability and targetCompatability to 1_8 -
|
||||
// Updating to latest version would require upgrading sourceCompatibility and targetCompatibility to 1_8, and targetSdk to 31 -
|
||||
// run `./gradlew build --scan` to see details
|
||||
// Known Android Lint warning: "GradleDependency"
|
||||
implementation("androidx.core:core-ktx:1.6.0")
|
||||
implementation("androidx.work:work-runtime-ktx:2.6.0")
|
||||
}
|
||||
|
Reference in New Issue
Block a user