-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
112 lines (91 loc) · 2.94 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 {
mavenCentral()
maven {
name = 'forge'
url = 'https://files.minecraftforge.net/maven/'
}
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT'
}
}
plugins {
id "com.wynprice.cursemaven" version "2.1.5"
}
apply plugin: 'net.minecraftforge.gradle.forge'
apply plugin: 'idea'
apply plugin: 'maven'
apply plugin: 'maven-publish'
version = "${minecraft_version}-${mod_version}"
group = 'thundr.redstonerepository'
archivesBaseName = 'RedstoneRepository'
sourceCompatibility = targetCompatibility = compileJava.sourceCompatibility = compileJava.targetCompatibility = '1.8'
minecraft {
version = "${minecraft_version}-${forge_version}"
mappings = "${mappings_version}"
runDir = "run"
//makeObfSourceJar = false
//useDepAts = true
replace "${version}", project.version
}
repositories {
maven {
name = "progwml6 maven"
url = "https://dvs1.progwml6.com/files/maven/"
}
maven {
name = "chickenbones maven"
url = "https://chickenbones.net/maven/"
}
maven {
name = "covers maven"
url = "https://maven.covers1624.net/"
}
maven {
name = "curse maven"
url = "https://www.cursemaven.com/"
}
maven {
name = "blamejared maven"
url = "https://maven.blamejared.com/"
}
maven {
name = "tterrag maven"
url = "https://maven.tterrag.com/"
}
maven {
name = "mod maven"
url = "https://modmaven.dev/"
}
}
dependencies {
deobfProvided "mezz.jei:jei_${minecraft_version}:${jei_version}:api"
runtime "mezz.jei:jei_${minecraft_version}:${jei_version}"
deobfProvided "mcjty.theoneprobe:TheOneProbe-1.12:${top_version}:api"
runtime "mcjty.theoneprobe:TheOneProbe-1.12:${top_version}"
runtime "vazkii.patchouli:Patchouli:${patchouli_version}"
compile "curse.maven:baubles-227083:2518667"
compile "curse.maven:redstone-flux-270789:2920436"
runtime "curse.maven:codechicken-lib-1-8-242818:2779848"
compile "curse.maven:cofh-core-69162:2920433"
runtime "curse.maven:cofh-world-271384:2920434"
runtime "curse.maven:thermal-foundation-222880:2926428"
runtime "curse.maven:thermal-dynamics-227443:2920505"
runtime "curse.maven:thermal-expansion-69163:2926431"
compile "curse.maven:redstone-arsenal-70631:2939416"
//runtime "curse.maven:ender-io-64578:3328811"
//runtime "curse.maven:buildcraft-core-231305:3204464"
runtime "curse.maven:simply-jetpacks-2-251792:3294422"
}
processResources {
inputs.property "version", project.version
inputs.property "mcversion", project.minecraft.version
from (sourceSets.main.resources.srcDirs) {
include 'mcmod.info'
expand 'version':project.version, 'mcversion':project.minecraft.version
}
from (sourceSets.main.resources.srcDirs) {
exclude 'mcmod.info'
}
}