v0.8.1: updated gradle build tools and gradle version

This commit is contained in:
Evan Debenham 2020-05-28 21:33:39 -04:00
parent 37ff943c89
commit 8d524e18d3
3 changed files with 5 additions and 4 deletions

View File

@ -4,7 +4,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.6.3'
classpath 'com.android.tools.build:gradle:4.0.0'
}
}

View File

@ -3,6 +3,7 @@ apply plugin: "java"
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
sourceCompatibility = targetCompatibility = appJavaCompatibility
ext.appMainClass = "com.shatteredpixel.shatteredpixeldungeon.desktop.DesktopLauncher"
sourceSets.main.resources.srcDirs = [new File(project(':core').projectDir, "/src/main/assets"),
new File(project(':desktop').projectDir,"/src/main/assets")]
@ -15,7 +16,7 @@ task debug(dependsOn: classes, type: JavaExec) {
classpath = sourceSets.debug.runtimeClasspath + sourceSets.main.runtimeClasspath
ignoreExitValue = true
mainClass = "com.shatteredpixel.shatteredpixeldungeon.desktop.DesktopLauncher"
main = appMainClass
systemProperty 'Specification-Title', appName
systemProperty 'Specification-Version', appVersionName + "-INDEV"
systemProperty 'Implementation-Version', appVersionCode
@ -36,7 +37,7 @@ task release(dependsOn: compileForRelease, type: Jar) {
from { configurations.runtimeClasspath.findAll { it.name.endsWith('jar') }.collect { zipTree(it) } }
manifest {
attributes 'Main-Class': "com.shatteredpixel.shatteredpixeldungeon.desktop.DesktopLauncher"
attributes 'Main-Class': appMainClass
attributes 'Specification-Title': appName
attributes 'Specification-Version': appVersionName
attributes 'Implementation-Version': appVersionCode

View File

@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.4-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.4.1-all.zip