aboutsummaryrefslogtreecommitdiff
path: root/build-src/src/main/kotlin/ledger-globals.gradle.kts
blob: 8d49379e63c9a7fd6b2acd2fc66c731da9f7d11d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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
	this.archiveBaseName.set("ledger-" + project.path.replace(":", "-").trim('-'))
}

tasks.withType<Test> {
	useJUnitPlatform()
}

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