forked from Advanced-Rocketry/libVulpes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
113 lines (92 loc) · 3.34 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
buildscript {
repositories {
mavenLocal()
maven {
name = "aliyun-public"
url = "https://maven.aliyun.com/nexus/content/groups/public/"
}
maven {
name = "forge"
url = "https://maven.minecraftforge.net/"
}
maven {
name = "gradle-plugin"
url = "https://maven.aliyun.com/repository/gradle-plugin"
}
}
dependencies {
classpath ('com.anatawa12.forge:ForgeGradle:1.2-1.0.+') {
changing = true
}
}
}
plugins {
}
apply plugin: 'forge'
apply from: "gradle/scripts/getbuildnumber.gradle"
minecraft {
version = "1.7.10-10.13.4.1614-1.7.10"
runDir = "eclipse/assets"
replace "@BUILD@", project.getBuildNumber()
}
apply from: "gradle/scripts/jars.gradle"
apply from: "gradle/scripts/version.gradle"
group= "zmaster587.libVulpes" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = "LibVulpes"
sourceCompatibility = 8
targetCompatibility = 8
clean {
delete 'output'
}
repositories {
maven {
name = "gt"
url = "https://gregtech.overminddl1.com/"
}
maven {
name = "chickenbones"
url = "https://chickenbones.net/maven/"
}
ivy {
name "industrialcraft-2"
artifactPattern "https://jenkins.ic2.player.to/job/IC2_experimental/827/artifact/build/libs/[module]-[revision].[ext]"
}
}
dependencies {
// you may put jars on which you depend on in ./libs
// or you may define them like so..
//compile "some.group:artifact:version:classifier"
//compile "some.group:artifact:version"
// real examples
//compile 'com.mod-buildcraft:buildcraft:7.0.20:dev' // adds buildcraft to the dev env
//compile 'codechicken:CodeChickenLib:1.7.10-1.1.3.127:dev'
//compile 'codechicken:CodeChickenCore:1.7.10-1.0.4.35:dev'
// compile 'codechicken:NotEnoughItems:1.7.10-1.0.4.95:dev'
//compile name: 'industrialcraft-2', version: '2.2.827-experimental-api', ext: 'jar'
// gotta get it manually now, RIP downloading from curseforge, their examples don't even work now
//compile name: 'CoFHCore', version: '[1.7.10]3.0.3-303', ext: 'jar'
//compile 'com.googlecode.efficient-java-matrix-library:ejml:0.24' // adds ejml to the dev env
// for more info...
// http://www.gradle.org/docs/current/userguide/artifact_dependencies_tutorial.html
// http://www.gradle.org/docs/current/userguide/dependency_management.html
implementation 'org.jetbrains:annotations:24.0.1'
implementation "ic2:IC2Classic:1.2.1.8:dev"
implementation "codechicken:CodeChickenLib:1.7.10-1.1.3.140:dev"
implementation "codechicken:CodeChickenCore:1.7.10-1.0.7.47:dev"
implementation "codechicken:NotEnoughItems:1.7.10-1.0.5.120:dev"
implementation "appeng:appliedenergistics2:rv3-beta-6:dev"
}
processResources
{
// This will ensure that this task is redone when the versions change.
inputs.property "version", project.version
inputs.property "mcversion", project.minecraft.version
// Replace values in only mcmod.info.
filesMatching('mcmod.info') {
// Replace version and mcversion.
expand 'version':project.version, 'mcversion':project.minecraft.version
}
}
task wrapper (type: Wrapper) {
gradleVersion = '4.4.1'
}