build: update build scripts

Update/Modernize build scripts.
This commit is contained in:
OxygenCobalt
2022-07-29 11:03:22 -06:00
parent f93d5f1a69
commit 62ae5e5cb2
6 changed files with 18 additions and 13 deletions
+12 -6
View File
@@ -6,27 +6,28 @@ plugins {
}
android {
compileSdk 32
namespace "org.oxycblt.auxio"
defaultConfig {
applicationId "org.oxycblt.auxio"
applicationId namespace
versionName "2.5.0"
versionCode 18
minSdkVersion 21
// API 33 is still busted, waiting until the XML element issue is fixed
// noinspection OldTargetApi
targetSdkVersion 32
minSdk 21
targetSdk 32
buildFeatures {
viewBinding true
}
}
compileSdkVersion 32
// ExoPlayer, AndroidX, and Material Components all need Java 8 to compile.
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
@@ -47,6 +48,11 @@ android {
proguardFiles getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro"
}
}
dependenciesInfo {
includeInApk = false
includeInBundle = false
}
}
afterEvaluate {