-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
61 lines (49 loc) · 1.52 KB
/
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
plugins {
id 'fabric-loom' version '0.2.2-SNAPSHOT'
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
archivesBaseName = "united-manufacturing"
version = "0.0.1-alpha.1"
repositories {
maven {
name = "Cotton"
url "http://server.bbkr.space:8081/artifactory/libs-snapshot"
}
maven {
name = "BuildCraft" //For LibBlockAttributes
url = "https://mod-buildcraft.com/maven"
}
}
dependencies {
minecraft "com.mojang:minecraft:1.14.1"
mappings "net.fabricmc:yarn:1.14.1+build.10"
modCompile "net.fabricmc:fabric-loader:0.4.8+build.154"
modCompile "net.fabricmc.fabric-api:fabric-api:0.3.0-pre+build.167"
compileOnly "com.google.code.findbugs:jsr305:3.0.2" // javax.annotations.*
modCompile ("alexiil.mc.lib:libblockattributes:0.4.2") { transitive = false }
modCompile "io.github.prospector.silk:SilkAPI:1.2.4-43"
modCompile ("io.github.cottonmc:cotton:0.6.8+1.14.1-SNAPSHOT") { transitive = false }
modCompile ("io.github.cottonmc:cotton-energy:1.3.1+1.14.1-SNAPSHOT") { transitive = false }
modCompile ("io.github.cottonmc:cotton-resources:1.1.4+1.14.1-SNAPSHOT") { transitive = false }
}
processResources {
inputs.property "version", project.version
from(sourceSets.main.resources.srcDirs) {
include "fabric.mod.json"
expand "version": project.version
}
from(sourceSets.main.resources.srcDirs) {
exclude "fabric.mod.json"
}
}
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
task sourcesJar(type: Jar, dependsOn: classes) {
classifier = "sources"
from sourceSets.main.allSource
}
jar {
from "LICENSE"
}