-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
43 lines (36 loc) · 833 Bytes
/
build.gradle
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
group = 'com.github.octarine-noise'
version = "1.0.0"
//
// OctarineLib bundles the Kotlin runtime so dependent projects don't have to
//
configurations {
shade
compile.extendsFrom shade
}
dependencies {
shade "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
}
allprojects {
reobf.jar.extraLines "PK: kotlin mods/octarinelib/kotlin"
}
//
// Define project artifacts
//
def manifestCfg = {
attributes "TweakClass": "mods.octarinelib.loader.OctarineLibTweaker"
attributes "FMLAT": "OctarineLib_at.cfg"
}
jar {
manifest manifestCfg
with includeShadedDeps(configurations.shade)
exclude "optifine"
}
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
manifest manifestCfg
from(sourceSets.main.kotlin)
}
artifacts {
archives jar
archives sourcesJar
}