generated from Weave-MC/ExampleMod
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
40 lines (31 loc) · 915 Bytes
/
build.gradle.kts
File metadata and controls
40 lines (31 loc) · 915 Bytes
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
plugins {
java
id("com.github.weave-mc.weave-gradle") version "649dba7468"
}
group = "me.thayt"
version = "1.0"
minecraft.version("1.8.9")
repositories {
maven("https://jitpack.io")
maven("https://repo.spongepowered.org/maven/")
}
dependencies {
compileOnly("com.github.weave-mc:weave-loader:70bd82faa6")
compileOnly("org.spongepowered:mixin:0.8.5")
implementation("com.mpatric:mp3agic:0.9.1")
// +500kb but i mean mp3s work so
implementation("com.sipgate:mp3-wav:1.0.3")
}
tasks.compileJava { options.release.set(14) }
tasks {
jar {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
from(
configurations.getByName("runtimeClasspath").map {
if (it.isDirectory) it else zipTree(it)
}
)
archiveBaseName.set(project.name)
destinationDirectory.set(file("$buildDir/libs"))
}
}