Fix Gradle Script

This commit is contained in:
MattBDev 2019-07-30 15:28:25 -04:00
parent cb03ed2fe8
commit c4c90c99a8
2 changed files with 5 additions and 4 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 {

View File

@ -23,10 +23,10 @@ dependencies {
compileOnly 'com.sk89q:dummypermscompat:1.10'
testCompile 'org.mockito:mockito-core:1.9.0-rc1'
implementation('org.apache.logging.log4j:log4j-slf4j-impl:2.8.1'){transitive = false}
compileOnly 'com.destroystokyo.paper:paper-api:1.14.3-R0.1-SNAPSHOT'
compileOnly 'com.destroystokyo.paper:paper-api:1.14.4-R0.1-SNAPSHOT'
implementation('io.papermc:paperlib:1.0.2'){transitive = false}
compileOnly 'org.spigotmc:spigot:1.13.2-R0.1-SNAPSHOT'
compileOnly 'BuildTools:lastSuccessfulBuild:spigot-1.14.3@jar'
compileOnly 'BuildTools:lastSuccessfulBuild:spigot-1.14.4@jar'
implementation('com.sk89q.worldguard:worldguard-core:7.0.0-20190215.210421-39'){transitive = false}
implementation('com.sk89q.worldguard:worldguard-legacy:7.0.0-20190215.210421-39'){transitive = false}
implementation('com.massivecraft:factions:2.8.0'){transitive = false}