aboutsummaryrefslogtreecommitdiff
path: root/build-src/src/main/kotlin/ledger-globals.gradle.kts
blob: 036c63dfc5a25c302e1e803cab34e74712e38b43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import org.gradle.api.tasks.bundling.AbstractArchiveTask

repositories {
	mavenCentral()
	maven("https://repo.nea.moe/releases/")
	maven("https://repo.spongepowered.org/maven/")
	maven("https://maven.notenoughupdates.org/releases")
	maven("https://pkgs.dev.azure.com/djtheredstoner/DevAuth/_packaging/public/maven/v1")
}

tasks.withType<AbstractArchiveTask> {
	this.isPreserveFileTimestamps = false
	this.isReproducibleFileOrder = true
}

tasks.withType<Test> {
	useJUnitPlatform()
}

tasks.withType<JavaCompile> {
	options.encoding = "UTF-8"
}