-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle.kts
52 lines (41 loc) · 1.05 KB
/
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
48
49
50
51
52
plugins {
kotlin("jvm") version("1.8.0")
id("java")
`java-library`
`maven-publish`
id("com.github.weave-mc.weave") version("8b70bcc707")
id("com.github.johnrengelman.shadow") version("6.1.0")
}
group = "xyz.flapjack"
version = "1.1"
minecraft.version("1.8.9")
repositories {
mavenCentral()
maven("https://jitpack.io")
maven("https://repo.spongepowered.org/maven/")
}
dependencies {
compileOnly("com.github.weave-mc:weave-loader:70bd82f")
compileOnly("org.spongepowered:mixin:0.8.5")
}
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
tasks.shadowJar {
archiveClassifier.set("")
}
tasks.compileJava {
options.release.set(17)
}
tasks.jar {
manifest.attributes(
"Main-Class" to "xyz.flapjack.container.Container",
)
/**
* This is for development purposes and will compile the mod straight to your mods' folder.
*
* destinationDirectory.set(file("${System.getProperty("user.home")}/.lunarclient/mods"))
*
*/
}