-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
88 lines (74 loc) · 2.42 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
plugins {
id 'fabric-loom' version '0.2.5-SNAPSHOT'
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
archivesBaseName = "vivatech"
version = "1.0.0-alpha.14+1.14.4"
repositories {
jcenter()
maven {
name = "Fabric"
url = "http://maven.fabricmc.net"
}
maven {
name = "Cotton (Snapshot)"
url = "http://server.bbkr.space:8081/artifactory/libs-snapshot"
}
maven {
name = "Cotton"
url "http://server.bbkr.space:8081/artifactory/libs-release"
}
maven {
name = "BuildCraft"
url = "https://mod-buildcraft.com/maven"
}
maven {
name = "BuildCraft"
url = "https://minecraft.curseforge.com/api/maven"
}
}
dependencies {
minecraft "com.mojang:minecraft:1.14.4"
mappings "net.fabricmc:yarn:1.14.4+build.3"
modImplementation "net.fabricmc:fabric-loader:0.4.8+build.158"
modImplementation ("net.fabricmc.fabric-api:fabric-api:0.3.0+build.206") { force = true }
// javax.annotations.*
compileOnly "com.google.code.findbugs:jsr305:3.0.2"
modImplementation "alexiil.mc.lib:libblockattributes-all:0.4.9"
modImplementation "io.github.cottonmc:LibGui:1.3.2"
modImplementation "io.github.cottonmc:cotton-energy:1.5.0+1.14.3-SNAPSHOT"
modImplementation ("io.github.cottonmc:cotton-resources:1.4.0+1.14.4") {
exclude group: "me.shedaniel", module: "RoughlyEnoughItems"
}
modImplementation "io.github.cottonmc:LibMultiblock:0.1.0+1.14.4"
include "alexiil.mc.lib:libblockattributes-all:0.4.9"
include "io.github.cottonmc:LibGui:1.3.2"
include "io.github.cottonmc:cotton-energy:1.5.0+1.14.3-SNAPSHOT"
include "io.github.cottonmc:cotton-resources:1.4.0+1.14.4"
include "io.github.cottonmc:LibMultiblock:0.1.0+1.14.4"
// Integration tests
modImplementation ("me.shedaniel:RoughlyEnoughItems:3.0-pre+build.1") {
exclude group: "io.github.prospector.modmenu", module: "ModMenu"
}
}
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"
}