forked from MCTCP/TerrainControl
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.gradle
35 lines (26 loc) · 826 Bytes
/
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
// Information for all projects
// The default tasks for all projects
defaultTasks 'clean', 'build', 'createReleaseJar', 'install'
allprojects
{
version = "2.8.2-SNAPSHOT"
group = "com.khorn.terraincontrol"
// Version of the shadow plugin
ext.shadowVersion = '1.2.1'
}
// Information for all subprojects
// (common, forge and bukkit, but not this file)
subprojects
{ task ->
task.plugins.withType(org.gradle.api.plugins.JavaBasePlugin)
{
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
// Generate Eclipse config files when using "gradle eclipse"
task.apply plugin: 'eclipse'
// Generate IntelliJ IDEA config files
task.apply plugin: 'idea'
}
// Generate a pom.xml, upload to local Maven repository
apply plugin: 'maven'
}