mirror of
https://github.com/architectury/architectury-loom.git
synced 2026-03-27 19:57:00 -05:00
* Update to Gradle 8.3, and update all other deps. * Fix tests * Lazily download decompilers, generate version constants to ensure they are synced between the build and Gradle. Each decompiler has a configuration, this allows the version to be changed at a later date if needed. * Fix typo :) * Oh so many versions
32 lines
516 B
Groovy
32 lines
516 B
Groovy
plugins {
|
|
id 'java'
|
|
id 'groovy'
|
|
}
|
|
|
|
java {
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
targetCompatibility = JavaVersion.VERSION_1_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.3-groovy-3.0') {
|
|
exclude module: 'groovy-all'
|
|
}
|
|
}
|
|
|
|
test {
|
|
maxHeapSize = "4096m"
|
|
useJUnitPlatform()
|
|
} |