v0.8.1: updated gradle build tools and gradle version
This commit is contained in:
@@ -4,7 +4,7 @@ buildscript {
|
|||||||
jcenter()
|
jcenter()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:3.6.3'
|
classpath 'com.android.tools.build:gradle:4.0.0'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -3,6 +3,7 @@ apply plugin: "java"
|
|||||||
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
|
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
|
||||||
sourceCompatibility = targetCompatibility = appJavaCompatibility
|
sourceCompatibility = targetCompatibility = appJavaCompatibility
|
||||||
|
|
||||||
|
ext.appMainClass = "com.shatteredpixel.shatteredpixeldungeon.desktop.DesktopLauncher"
|
||||||
sourceSets.main.resources.srcDirs = [new File(project(':core').projectDir, "/src/main/assets"),
|
sourceSets.main.resources.srcDirs = [new File(project(':core').projectDir, "/src/main/assets"),
|
||||||
new File(project(':desktop').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
|
classpath = sourceSets.debug.runtimeClasspath + sourceSets.main.runtimeClasspath
|
||||||
ignoreExitValue = true
|
ignoreExitValue = true
|
||||||
|
|
||||||
mainClass = "com.shatteredpixel.shatteredpixeldungeon.desktop.DesktopLauncher"
|
main = appMainClass
|
||||||
systemProperty 'Specification-Title', appName
|
systemProperty 'Specification-Title', appName
|
||||||
systemProperty 'Specification-Version', appVersionName + "-INDEV"
|
systemProperty 'Specification-Version', appVersionName + "-INDEV"
|
||||||
systemProperty 'Implementation-Version', appVersionCode
|
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) } }
|
from { configurations.runtimeClasspath.findAll { it.name.endsWith('jar') }.collect { zipTree(it) } }
|
||||||
|
|
||||||
manifest {
|
manifest {
|
||||||
attributes 'Main-Class': "com.shatteredpixel.shatteredpixeldungeon.desktop.DesktopLauncher"
|
attributes 'Main-Class': appMainClass
|
||||||
attributes 'Specification-Title': appName
|
attributes 'Specification-Title': appName
|
||||||
attributes 'Specification-Version': appVersionName
|
attributes 'Specification-Version': appVersionName
|
||||||
attributes 'Implementation-Version': appVersionCode
|
attributes 'Implementation-Version': appVersionCode
|
||||||
|
|||||||
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@@ -2,4 +2,4 @@ distributionBase=GRADLE_USER_HOME
|
|||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user