-
Notifications
You must be signed in to change notification settings - Fork 11
/
build.gradle
58 lines (51 loc) · 2.02 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
buildscript {
ext.kotlinVersion = '1.4.32'
repositories {
jcenter()
mavenCentral()
maven {
name = 'gradle-plugins'
url = 'https://plugins.gradle.org/m2'
}
maven {
name = "forge"
url = "http://files.minecraftforge.net/maven"
}
maven { url = 'https://repo.spongepowered.org/repository/maven-public/' }
}
dependencies {
classpath('net.minecraftforge.gradle:ForgeGradle:2.3-SNAPSHOT') {
// The gradle Kotlin plugin depends on Intellij's custom fork
// of GNU Trove, which it doesn't relocate.
// Therefore, we need to remove any other version of Trove
// from the classpath, to ensure that 'gnu.trove.*' always
// resolves to Intellij's version of Trove at runtime
// See https://youtrack.jetbrains.com/issue/IDEA-211616
exclude group: 'trove', module: 'trove'
exclude group: 'net.sf.trove4j', module: 'trove4j'
}
classpath 'gradle.plugin.org.spongepowered:spongegradle:0.8.1'
classpath 'org.spongepowered:event-impl-gen:5.4.0'
classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.3'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
}
}
ext.fcc = project(':FoxCore-Common')
ext.fcsp = project(':FoxCore-Sponge')
ext.fgc = project(':FoxGuard-Common')
apply from: fcc.file("gradle/config.gradle")
apply from: fcsp.file("gradle/versions.gradle")
apply plugin: 'org.spongepowered.plugin'
apply plugin: 'net.minecraftforge.gradle.forge'
group 'net.foxdenstudio.sponge'
version 'api7-SNAPSHOT'
apply from: fcc.file("gradle/fox.gradle")
apply from: fcc.file("gradle/publish.gradle")
apply from: fcsp.file("gradle/minecraft.gradle")
apply from: project.file("gradle/foxguard.gradle")
dependencies {
implementation fcsp
implementation fgc
implementation "org.spongepowered:spongeapi:$spongeVersion"
//testCompile group: 'junit', name: 'junit', version: '4.11'
}