forked from Brian-Wuest/MC-FromTheDepths
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
74 lines (59 loc) · 1.95 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 {
mavenCentral()
maven { url = 'https://jitpack.io' }
maven { url = 'https://maven.minecraftforge.net' }
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT'
// classpath('com.github.DStrand1:ForgeGradle:FG_2.3-SNAPSHOT') {
// changing = true
// }
}
}
apply plugin: 'net.minecraftforge.gradle.forge'
// Only edit below this line, the above code adds and enables the necessary things for Forge to be setup.
apply plugin: 'eclipse'
apply plugin: 'maven-publish'
group = "com.wuest.from_the_depths" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = "FromTheDepths"
version = "${mod_version}"
sourceCompatibility = targetCompatibility = '1.8'
compileJava {
sourceCompatibility = targetCompatibility = '1.8'
}
minecraft {
version = "$forge_version"
runDir = 'run'
mappings("snapshot_$forge_snapshot")
// accessTransformer = file('src/main/resources/META-INF/accesstransformer.cfg')
// Default run configurations.
// These can be tweaked, removed, or duplicated as needed.
}
repositories {
maven {
name = "Progwml6 maven"
url = "http://dvs1.progwml6.com/files/maven"
}
maven {
url "https://www.cursemaven.com"
}
}
dependencies {
//Compile against the JEI API but do not include it at runtime
compileOnly 'mezz.jei:jei_1.12.2:4.15.+:api'
//At runtime, use the full JEI jar
runtimeOnly 'mezz.jei:jei_1.12.2:4.15.+'
implementation "curse.maven:sereneseasons-291874:2799213"
}
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'
}
}