-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
74 lines (65 loc) · 1.75 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
buildscript {
repositories {
jcenter()
mavenCentral()
maven {
name = "forge"
url = "http://files.minecraftforge.net/maven"
}
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT'
}
}
plugins {
id 'java'
id 'idea'
id 'maven'
id "net.minecraftforge.gradle.forge" version "2.0.2"
id "com.jfrog.bintray" version "1.8.4"
id "com.wynprice.cursemaven" version "2.1.1"
}
apply from: project.file('maven.gradle')
sourceCompatibility = 1.8
targetCompatibility= 1.8
repositories {
maven {
name = "Forestry"
url = "http://maven.ic2.player.to/"
}
maven {
name = "Modmuss50"
url = "http://maven.modmuss50.me/"
}
}
version = version_major + '.' + version_minor + '.' + version_patch
minecraft {
version = mcversion + "-" + forgeversion
runDir = "run"
mappings = mcp_mappings
replaceIn "RetroBees.java"
replace '@VERSION@', project.version
replace '@UPDATE@', update_json
}
group= "com.thesledgehammer.retrobees"
archivesBaseName = "RetroBees_" + mcversion
dependencies {
compile "net.sengir.forestry:forestry_1.12.2:${forestry_version}"
compile "TechReborn:TechReborn-1.12.2:${techreborn_version}:universal"
compile "RebornCore:RebornCore-1.12.2:${reborncore_version}:universal"
compile "curse.maven:projecte:${projecte_fileid}"
//compile files("/lib/ProjectE-1.12.2-PE1.4.1.jar")
}
processResources {
inputs.property "version", project.version
inputs.property "mcversion", project.minecraft.version
inputs.property "updatejson", update_json
from(sourceSets.main.resources.srcDirs) {
include 'mcmod.info'
// replace version and mcversion
expand 'version':project.version, 'mcversion':project.minecraft.version, 'updatejson': update_json
}
from(sourceSets.main.resources.srcDirs) {
exclude 'mcmod.info'
}
}