chore: Bump gradle to v8.2
This commit is contained in:
+9
-6
@@ -12,12 +12,11 @@ def getGitHash = { ->
|
||||
}
|
||||
|
||||
android {
|
||||
compileSdkVersion 34
|
||||
|
||||
defaultConfig {
|
||||
applicationId "deltazero.amarok"
|
||||
minSdkVersion 26
|
||||
targetSdkVersion 34
|
||||
compileSdk 34
|
||||
versionCode 64
|
||||
versionName "0.8.5b3"
|
||||
|
||||
@@ -55,7 +54,7 @@ android {
|
||||
}
|
||||
|
||||
productFlavors {
|
||||
flavorDimensions "version"
|
||||
flavorDimensions = ['version']
|
||||
appcenter {
|
||||
dimension 'version'
|
||||
}
|
||||
@@ -74,14 +73,14 @@ android {
|
||||
}
|
||||
}
|
||||
|
||||
applicationVariants.all { variant ->
|
||||
applicationVariants.configureEach { variant ->
|
||||
def flavorName = variant.productFlavors[0].name
|
||||
if (flavorName == "appcenter") {
|
||||
variant.outputs.all { output ->
|
||||
variant.outputs.configureEach { output ->
|
||||
outputFileName = "Amarok-v${variant.versionName}.apk"
|
||||
}
|
||||
} else {
|
||||
variant.outputs.all { output ->
|
||||
variant.outputs.configureEach { output ->
|
||||
outputFileName = "Amarok-v${variant.versionName}-${flavorName}.apk"
|
||||
}
|
||||
}
|
||||
@@ -91,7 +90,11 @@ android {
|
||||
sourceCompatibility JavaVersion.VERSION_17
|
||||
targetCompatibility JavaVersion.VERSION_17
|
||||
}
|
||||
|
||||
namespace 'deltazero.amarok'
|
||||
buildFeatures {
|
||||
buildConfig true
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@ buildscript {
|
||||
maven { url 'https://jitpack.io' }
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:8.1.2'
|
||||
classpath 'com.android.tools.build:gradle:8.2.0'
|
||||
classpath 'dev.rikka.tools.autoresconfig:gradle-plugin:1.2.2'
|
||||
|
||||
// NOTE: Do not place your application dependencies here; they belong
|
||||
|
||||
@@ -14,6 +14,5 @@
|
||||
org.gradle.jvmargs=-Xmx1536M -Dkotlin.daemon.jvm.options\="-Xmx2048M" -Dfile.encoding\=UTF-8
|
||||
android.useAndroidX=true
|
||||
android.enableJetifier=true
|
||||
android.defaults.buildfeatures.buildconfig=true
|
||||
android.nonTransitiveRClass=true
|
||||
android.nonFinalResIds=false
|
||||
|
||||
+1
-1
@@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-all.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2-all.zip
|
||||
|
||||
Reference in New Issue
Block a user