Remove ReplayStudio submodule and depend on it via maven instead

This commit is contained in:
Jonas Herzig
2017-09-01 18:15:06 +02:00
parent b1a2826cb4
commit cfb990ad43
3 changed files with 2 additions and 10 deletions

4
.gitmodules vendored
View File

@@ -2,10 +2,6 @@
path = jGui path = jGui
url = https://github.com/ReplayMod/jGui url = https://github.com/ReplayMod/jGui
[submodule "ReplayStudio"]
path = ReplayStudio
url = https://github.com/ReplayMod/ReplayStudio
[submodule "src/main/resources/assets/replaymod/lang"] [submodule "src/main/resources/assets/replaymod/lang"]
path = src/main/resources/assets/replaymod/lang path = src/main/resources/assets/replaymod/lang
url = https://github.com/ReplayMod/Translations url = https://github.com/ReplayMod/Translations

Submodule ReplayStudio deleted from f1d6fbbf8a

View File

@@ -48,6 +48,7 @@ repositories {
name = "SpongePowered Repo" name = "SpongePowered Repo"
url = "http://repo.spongepowered.org/maven/" url = "http://repo.spongepowered.org/maven/"
} }
maven { url 'https://jitpack.io' }
} }
configurations { configurations {
@@ -70,24 +71,20 @@ dependencies {
shade 'org.aspectj:aspectjrt:1.8.2' shade 'org.aspectj:aspectjrt:1.8.2'
compile project(':ReplayStudio') shade 'com.github.replaymod:ReplayStudio:f1d6fbb'
testCompile 'junit:junit:4.11' testCompile 'junit:junit:4.11'
} }
tasks['idea'].dependsOn ':ReplayStudio:preshadowJar'
jar { jar {
duplicatesStrategy = DuplicatesStrategy.EXCLUDE duplicatesStrategy = DuplicatesStrategy.EXCLUDE
dependsOn configurations.compile dependsOn configurations.compile
dependsOn configurations.shade dependsOn configurations.shade
dependsOn ':ReplayStudio:shadowJar'
def shade = {files( def shade = {files(
configurations.compile.findAll {it.name.startsWith 'mixin-'} configurations.compile.findAll {it.name.startsWith 'mixin-'}
+ configurations.shade + configurations.shade
+ getTasks().getByPath(':ReplayStudio:shadowJar').outputs.files
)} )}
def noticeDir = file("$buildDir/NOTICE") def noticeDir = file("$buildDir/NOTICE")