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

View File

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