mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 13:16:45 +01:00
The local build was a fluke, and I couldn't work it out in the last 3 hours, so here are some basic updates/cleanup to a few things, and an updated bui;d command in README.md
This commit is contained in:
parent
e757c3e13c
commit
886081e27f
@ -7,9 +7,10 @@ repositories {
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compile project(':Core')
|
compile project(':Core')
|
||||||
|
testCompile project(':Core')
|
||||||
compile 'org.spigotmc:spigot-api:1.13.2-R0.1-SNAPSHOT'
|
compile 'org.spigotmc:spigot-api:1.13.2-R0.1-SNAPSHOT'
|
||||||
compile(group: 'com.sk89q.worldedit', name: 'worldedit-bukkit', version: '7.0.0-SNAPSHOT')
|
compile(group: 'com.sk89q.worldedit', name: 'worldedit-bukkit', version: '7.0.0-SNAPSHOT')
|
||||||
compile("net.milkbowl.vault:VaultAPI:1.6") {
|
compile("net.milkbowl.vault:VaultAPI:1.7") {
|
||||||
exclude module: 'bukkit'
|
exclude module: 'bukkit'
|
||||||
}
|
}
|
||||||
compileOnly 'org.projectlombok:lombok:1.18.4'
|
compileOnly 'org.projectlombok:lombok:1.18.4'
|
||||||
@ -44,4 +45,4 @@ shadowJar.doLast {
|
|||||||
ant.checksum file: task.archivePath
|
ant.checksum file: task.archivePath
|
||||||
}
|
}
|
||||||
|
|
||||||
build.dependsOn(shadowJar);
|
build.dependsOn(shadowJar)
|
||||||
|
@ -1,10 +1,9 @@
|
|||||||
dependencies {
|
dependencies {
|
||||||
testCompile 'junit:junit:4.12'
|
testCompile 'junit:junit:4.12'
|
||||||
compile 'org.yaml:snakeyaml:1.16'
|
compile 'org.yaml:snakeyaml:1.23'
|
||||||
compile 'com.google.code.gson:gson:2.2.4'
|
compile 'com.google.code.gson:gson:2.8.5'
|
||||||
compileOnly 'org.projectlombok:lombok:1.18.4'
|
compileOnly 'org.projectlombok:lombok:1.18.4'
|
||||||
}
|
}
|
||||||
|
|
||||||
sourceCompatibility = 1.8
|
sourceCompatibility = 1.8
|
||||||
targetCompatibility = 1.8
|
targetCompatibility = 1.8
|
||||||
|
|
||||||
@ -21,21 +20,23 @@ processResources {
|
|||||||
|
|
||||||
jar.archiveName = "plotsquared-api-${project.parent.version}.jar"
|
jar.archiveName = "plotsquared-api-${project.parent.version}.jar"
|
||||||
jar.destinationDir = file '../mvn/com/plotsquared/plotsquared-api/' + project.parent.version
|
jar.destinationDir = file '../mvn/com/plotsquared/plotsquared-api/' + project.parent.version
|
||||||
task createPom << {
|
task createPom {
|
||||||
pom {
|
doLast {
|
||||||
project {
|
pom {
|
||||||
groupId 'com.plotsquared'
|
project {
|
||||||
artifactId 'plotsquared-api'
|
groupId 'com.plotsquared'
|
||||||
version project.parent.version
|
artifactId 'plotsquared-api'
|
||||||
}
|
version project.parent.version
|
||||||
}.writeTo("../mvn/com/plotsquared/plotsquared-api/${project.parent.version}/plotsquared-api-${project.parent.version}.pom")
|
}
|
||||||
pom {
|
}.writeTo("../mvn/com/plotsquared/plotsquared-api/${project.parent.version}/plotsquared-api-${project.parent.version}.pom")
|
||||||
project {
|
pom {
|
||||||
groupId 'com.plotsquared'
|
project {
|
||||||
artifactId 'plotsquared-api'
|
groupId 'com.plotsquared'
|
||||||
version 'latest'
|
artifactId 'plotsquared-api'
|
||||||
}
|
version 'latest'
|
||||||
}.writeTo("../mvn/com/plotsquared/plotsquared-api/latest/plotsquared-api-latest.pom")
|
}
|
||||||
|
}.writeTo("../mvn/com/plotsquared/plotsquared-api/latest/plotsquared-api-latest.pom")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
task copyFiles {
|
task copyFiles {
|
||||||
|
13
build.gradle
13
build.gradle
@ -8,11 +8,11 @@ buildscript {
|
|||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.github.jengelman.gradle.plugins:shadow:4.0.2'
|
classpath 'com.github.jengelman.gradle.plugins:shadow:4.0.2'
|
||||||
classpath 'org.ajoberstar:grgit:1.7.0'
|
classpath 'org.ajoberstar.grgit:grgit-gradle:3.0.0'
|
||||||
}
|
}
|
||||||
configurations.all {
|
configurations.all {
|
||||||
resolutionStrategy {
|
resolutionStrategy {
|
||||||
force 'org.ow2.asm:asm:6.0_BETA'
|
force 'org.ow2.asm:asm:7.0'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -21,15 +21,15 @@ plugins {
|
|||||||
id 'io.franzbecker.gradle-lombok' version '1.14'
|
id 'io.franzbecker.gradle-lombok' version '1.14'
|
||||||
}
|
}
|
||||||
|
|
||||||
group = 'com.intellectualcrafters'
|
group = 'com.github.intellectualsites,plotsquared'
|
||||||
|
|
||||||
def rootVersion = "4"
|
def rootVersion = "4"
|
||||||
def revision = ""
|
def revision = ""
|
||||||
def buildNumber = ""
|
def buildNumber = ""
|
||||||
def date = ""
|
def date = ""
|
||||||
ext {
|
ext {
|
||||||
git = Grgit.open(file(".git"))
|
git = Grgit.open(dir: '.git')
|
||||||
date = git.head().date.format("yy.MM.dd")
|
date = git.head().getDate().format("yy.MM.dd")
|
||||||
revision = "-${git.head().abbreviatedId}"
|
revision = "-${git.head().abbreviatedId}"
|
||||||
parents = git.head().parentIds;
|
parents = git.head().parentIds;
|
||||||
index = 0; // Offset to match CI
|
index = 0; // Offset to match CI
|
||||||
@ -53,6 +53,8 @@ subprojects {
|
|||||||
apply plugin: 'idea'
|
apply plugin: 'idea'
|
||||||
apply plugin: 'com.github.johnrengelman.shadow'
|
apply plugin: 'com.github.johnrengelman.shadow'
|
||||||
|
|
||||||
|
group = 'com.github.intellectualsites,plotsquared'
|
||||||
|
|
||||||
lombok {
|
lombok {
|
||||||
version = '1.18.4'
|
version = '1.18.4'
|
||||||
sha256 = ""
|
sha256 = ""
|
||||||
@ -66,6 +68,7 @@ subprojects {
|
|||||||
}
|
}
|
||||||
compile 'com.google.guava:guava:27.0.1-jre'
|
compile 'com.google.guava:guava:27.0.1-jre'
|
||||||
compileOnly 'org.projectlombok:lombok:1.18.4'
|
compileOnly 'org.projectlombok:lombok:1.18.4'
|
||||||
|
testImplementation "junit:junit:4.12"
|
||||||
}
|
}
|
||||||
clean {
|
clean {
|
||||||
delete file("../target")
|
delete file("../target")
|
||||||
|
Loading…
Reference in New Issue
Block a user