-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
95 lines (77 loc) · 1.84 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
buildscript {
repositories {
maven {
name = 'forge'
url = 'http://files.minecraftforge.net/maven'
}
maven {
name = 'sponge'
url = 'http://repo.spongepowered.org/maven'
}
}
dependencies {
classpath 'net.minecraftforge.gradle:ForgeGradle:2.2-SNAPSHOT'
classpath 'org.spongepowered:mixingradle:0.3-SNAPSHOT'
}
}
plugins {
id 'java'
id 'idea'
id 'eclipse'
id 'net.minecrell.licenser' version '0.2.1'
}
apply plugin: 'net.minecraftforge.gradle.forge'
apply plugin: 'org.spongepowered.mixin'
defaultTasks 'clean', 'licenseFormat'
sourceCompatibility = 1.8
targetCompatibility = 1.8
group = 'org.fountainmc'
archivesBaseName = project.name.toLowerCase()
version = '1.9.4-alpha1-SNAPSHOT'
ext.url = 'https://fountainmc.org/'
repositories {
mavenCentral()
maven {
url 'http://repo.spongepowered.org/maven'
}
}
dependencies {
compile project(':FountainAPI')
compile('org.spongepowered:mixin:0.5.1-SNAPSHOT') {
exclude module: 'launchwrapper'
exclude module: 'guava'
}
}
minecraft {
version = '12.17.0.1963'
mappings = 'snapshot_20160518'
runDir = 'run'
coreMod = 'org.fountainmc.forge.FountainCoremod'
}
license {
header file('HEADER.txt')
include '**/*.java'
include '**/*.groovy'
}
sourceSets {
main {
refMap = 'mixins.fountain.refmap.json'
}
}
project(':FountainAPI') {
apply from: rootProject.file('api.gradle')
}
processResources {
from('src/main/resources') {
include 'mcmod.info'
expand(
version: project.version,
url: project.url,
minecraftVersion: '1.9.4',
forgeVersion: '12.17.0.1963'
)
}
}
task wrapper(type: Wrapper) {
gradleVersion = '2.13'
}