mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-06-25 02:04:44 +02:00
Gradle / maven
Fix archive names (includes project/module name + version) Generate MD5 hash alongside jar Improve build time - asynchronous building - enable daemon - change scope of a few statements - skip building of 3 jars Add filtering to the plugin.yml (maven/gradle) Bump version to 3.3.0 in pom
This commit is contained in:
@ -1,6 +1,3 @@
|
||||
apply plugin: 'eclipse'
|
||||
apply plugin: 'idea'
|
||||
|
||||
buildscript {
|
||||
repositories {
|
||||
jcenter()
|
||||
@ -13,7 +10,9 @@ buildscript {
|
||||
classpath 'net.minecraftforge.gradle:ForgeGradle:2.1-SNAPSHOT'
|
||||
}
|
||||
}
|
||||
|
||||
apply plugin: 'net.minecraftforge.gradle.forge'
|
||||
apply plugin: 'com.github.johnrengelman.shadow'
|
||||
|
||||
dependencies {
|
||||
compile project(':Core')
|
||||
@ -33,7 +32,6 @@ repositories {
|
||||
url = "https://repo.spongepowered.org/maven"
|
||||
}
|
||||
}
|
||||
|
||||
minecraft {
|
||||
version = "1.8.9-11.15.1.1742"
|
||||
mappings = "snapshot_20160204"
|
||||
@ -48,10 +46,17 @@ processResources {
|
||||
'mcVersion': project.minecraft.version
|
||||
}
|
||||
}
|
||||
|
||||
shadowJar {
|
||||
dependencies {
|
||||
include(dependency(':Core'))
|
||||
}
|
||||
archiveName = "${parent.name}-${project.name}-${parent.version}.jar"
|
||||
}
|
||||
|
||||
shadowJar.doLast {
|
||||
task ->
|
||||
ant.checksum file: task.archivePath
|
||||
}
|
||||
|
||||
reobf {
|
||||
|
Reference in New Issue
Block a user