gradle: Some more build changes

This commit is contained in:
Owain van Brakel
2019-07-25 02:30:53 +02:00
parent af4c2ad6ae
commit 55c8a8e0ee
2 changed files with 13 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
plugins { plugins {
id "com.github.ben-manes.versions" version "0.21.0" id "com.github.ben-manes.versions" version "0.21.0"
id "com.gradle.build-scan" version "2.3"
} }
allprojects { allprojects {
@@ -8,6 +9,12 @@ allprojects {
group = 'net.runelite' group = 'net.runelite'
version = '1.5.30-SNAPSHOT' version = '1.5.30-SNAPSHOT'
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:deprecation"
}
}
} }
subprojects { subprojects {

6
gradle.properties Normal file
View File

@@ -0,0 +1,6 @@
org.gradle.caching=true
org.gradle.warning.mode=all
org.gradle.parallel=false
org.gradle.console=rich
org.gradle.configureondemand=true
org.gradle.jvmargs=-Xmx4096m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8