-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathbuild.gradle.kts
47 lines (36 loc) · 901 Bytes
/
build.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
import me.djtheredstoner.devauth.build.fixRemap
import org.gradle.jvm.tasks.Jar
plugins {
id("java-library")
id("build-logic")
id("gg.essential.loom") version "1.6.17" apply false
}
allprojects {
group = "me.djtheredstoner"
version = "1.2.1"
repositories {
mavenCentral()
}
tasks.withType<JavaCompile> {
sourceCompatibility = "1.8"
targetCompatibility = "1.8"
options.encoding = "UTF-8"
options.release.set(8)
}
tasks.withType<Jar> {
archiveBaseName.set("${rootProject.name}-${project.name}")
}
tasks.withType<AbstractArchiveTask> {
isPreserveFileTimestamps = false
isReproducibleFileOrder = true
}
}
subprojects {
apply(plugin = "java-library")
apply(plugin = "maven-publish")
apply(plugin = "build-logic")
java {
withSourcesJar()
}
}
fixRemap()