mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-09-28 13:47:26 +02:00
More 1.13.2 forge work
This commit is contained in:
parent
d6aa2f9e17
commit
745f8bc947
@ -14,10 +14,10 @@ buildscript {
|
||||
|
||||
apply plugin: 'net.minecraftforge.gradle'
|
||||
apply plugin: 'eclipse'
|
||||
apply plugin: 'com.github.johnrengelman.shadow'
|
||||
|
||||
dependencies {
|
||||
compile project(":DynmapCore")
|
||||
compile project(":DynmapCoreAPI")
|
||||
compile project(path: ":DynmapCore", configuration: "shadow")
|
||||
minecraft 'net.minecraftforge:forge:1.13.2-25.0.219'
|
||||
}
|
||||
|
||||
@ -63,21 +63,13 @@ processResources
|
||||
|
||||
shadowJar {
|
||||
dependencies {
|
||||
include(dependency('com.googlecode.json-simple:json-simple:'))
|
||||
include(dependency('org.yaml:snakeyaml:'))
|
||||
include(dependency('com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer:'))
|
||||
include(dependency('org.eclipse.jetty::'))
|
||||
include(dependency('org.eclipse.jetty.orbit:javax.servlet:'))
|
||||
include(dependency(':DynmapCore'))
|
||||
include(dependency(':DynmapCoreAPI'))
|
||||
}
|
||||
relocate('org.json.simple', 'org.dynmap.json.simple')
|
||||
relocate('org.yaml.snakeyaml', 'org.dynmap.snakeyaml')
|
||||
relocate('org.eclipse.jetty', 'org.dynmap.jetty')
|
||||
relocate('org.owasp.html', 'org.dynmap.org.owasp.html')
|
||||
relocate('javax.servlet', 'org.dynmap.javax.servlet' )
|
||||
archiveName = "Dynmap-${parent.version}-forge-1.13.2.jar"
|
||||
destinationDir = file '../target'
|
||||
manifest {
|
||||
attributes 'FMLAT': 'dynmap_at.cfg'
|
||||
}
|
||||
}
|
||||
|
||||
shadowJar.doLast {
|
||||
|
@ -198,7 +198,7 @@ public class DynmapPlugin
|
||||
Block b = bs.getBlock();
|
||||
// If this is new block vs last, it's the base block state
|
||||
if (b != baseb) {
|
||||
basebs = null;
|
||||
basebs = b;
|
||||
baseidx = idx;
|
||||
}
|
||||
|
||||
|
@ -10,7 +10,7 @@ include ':bukkit-helper'
|
||||
include ':dynmap-api'
|
||||
include ':DynmapCore'
|
||||
include ':DynmapCoreAPI'
|
||||
//include ':forge-1.13.2'
|
||||
include ':forge-1.13.2'
|
||||
include ':forge-1.12.2'
|
||||
include ':forge-1.11.2'
|
||||
include ':forge-1.10.2'
|
||||
@ -28,7 +28,7 @@ project(':bukkit-helper').projectDir = "$rootDir/bukkit-helper" as File
|
||||
project(':dynmap-api').projectDir = "$rootDir/dynmap-api" as File
|
||||
project(':DynmapCore').projectDir = "$rootDir/DynmapCore" as File
|
||||
project(':DynmapCoreAPI').projectDir = "$rootDir/DynmapCoreAPI" as File
|
||||
//project(':forge-1.13.2').projectDir = "$rootDir/forge-1.13.2" as File
|
||||
project(':forge-1.13.2').projectDir = "$rootDir/forge-1.13.2" as File
|
||||
project(':forge-1.12.2').projectDir = "$rootDir/forge-1.12.2" as File
|
||||
project(':forge-1.11.2').projectDir = "$rootDir/forge-1.11.2" as File
|
||||
project(':forge-1.10.2').projectDir = "$rootDir/forge-1.10.2" as File
|
||||
|
Loading…
Reference in New Issue
Block a user