diff options
author | modmuss50 <modmuss50@gmail.com> | 2021-05-26 11:41:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-26 11:41:52 +0100 |
commit | 8238db17784baf843833f680e750d31083ec8acd (patch) | |
tree | 05350dcfec683128030dcc7ca1bf44576c833ab1 /bootstrap/build.gradle | |
parent | 1f80e00e8851765c5aff961e8213ec40e468ed41 (diff) | |
download | architectury-loom-8238db17784baf843833f680e750d31083ec8acd.tar.gz architectury-loom-8238db17784baf843833f680e750d31083ec8acd.tar.bz2 architectury-loom-8238db17784baf843833f680e750d31083ec8acd.zip |
Improve error messages when using outdated Java or Gradle.
Diffstat (limited to 'bootstrap/build.gradle')
-rw-r--r-- | bootstrap/build.gradle | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/bootstrap/build.gradle b/bootstrap/build.gradle new file mode 100644 index 00000000..7db4d755 --- /dev/null +++ b/bootstrap/build.gradle @@ -0,0 +1,30 @@ +plugins { + id 'java' + id 'groovy' +} + +sourceCompatibility = 8 +targetCompatibility = 8 + +tasks.withType(JavaCompile).configureEach { + it.options.encoding = "UTF-8" + it.options.release = 8 +} + +repositories { + mavenCentral() +} + +dependencies { + implementation gradleApi() + + testImplementation(gradleTestKit()) + testImplementation('org.spockframework:spock-core:2.0-M5-groovy-3.0') { + exclude module: 'groovy-all' + } +} + +test { + maxHeapSize = "4096m" + useJUnitPlatform() +}
\ No newline at end of file |