This commit is contained in:
Jesse Boyd
2019-08-07 01:28:12 +10:00
parent b6bc09226c
commit 74fe88ae01
59 changed files with 938 additions and 556 deletions

View File

@ -46,7 +46,7 @@ allprojects {
def buildNumber = ""
def date = ""
ext {
git = Grgit.open(dir: '.git')
git = Grgit.open(dir: new File(rootDir.toString()+'/.git'))
date = git.head().getDate().format("yy.MM.dd")
revision = "-${git.head().abbreviatedId}"
parents = git.head().parentIds;
@ -63,6 +63,7 @@ allprojects {
version = String.format("%s.%s", rootVersion, buildNumber)
}
description = rootProject.name
subprojects {
@ -99,7 +100,7 @@ subprojects {
}
}
configure(['worldedit-core', 'worldedit-bukkit', 'favs'].collect { project("$it") }) {
configure(['worldedit-core', 'worldedit-bukkit'].collect { project("$it") }) {
apply plugin: 'java'
apply plugin: 'maven'
// apply plugin: 'checkstyle'
@ -191,4 +192,4 @@ task aggregatedJavadocs(type: Javadoc, description: 'Generate javadocs from all
includes += javadocTask.includes
}
}
}
}