Resolve client APIs from Create's Modrinth bundle
This commit is contained in:
parent
17e5817faa
commit
7041633e1b
1 changed files with 12 additions and 10 deletions
|
|
@ -2,26 +2,28 @@ version = '0.1.0'
|
||||||
base.archivesName = 'saltatory-client'
|
base.archivesName = 'saltatory-client'
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
|
||||||
url = 'https://maven.createmod.net'
|
|
||||||
content {
|
|
||||||
includeGroup 'net.createmod.ponder'
|
|
||||||
includeGroup 'dev.engine-room.flywheel'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
maven {
|
maven {
|
||||||
url = 'https://api.modrinth.com/maven'
|
url = 'https://api.modrinth.com/maven'
|
||||||
content { includeGroup 'maven.modrinth' }
|
content { includeGroup 'maven.modrinth' }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
configurations { testImplementation.extendsFrom compileOnly }
|
configurations {
|
||||||
|
createBundle
|
||||||
|
testImplementation.extendsFrom compileOnly
|
||||||
|
}
|
||||||
|
|
||||||
|
def createLibs = tasks.register('createLibs', Sync) {
|
||||||
|
from { zipTree(configurations.createBundle.singleFile) }
|
||||||
|
include 'META-INF/jarjar/ponder-*.jar', 'META-INF/jarjar/flywheel-*.jar'
|
||||||
|
into layout.buildDirectory.dir('create-libs')
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly('net.createmod.ponder:ponder-neoforge:1.0.82+mc1.21.1') { transitive = false }
|
createBundle('maven.modrinth:create:UjX6dr61') { transitive = false }
|
||||||
|
compileOnly files(createLibs).asFileTree.matching { include '**/*.jar' }
|
||||||
compileOnly('maven.modrinth:iris:t3ruzodq') { transitive = false }
|
compileOnly('maven.modrinth:iris:t3ruzodq') { transitive = false }
|
||||||
compileOnly('maven.modrinth:jei:Tn0dgwL0') { transitive = false }
|
compileOnly('maven.modrinth:jei:Tn0dgwL0') { transitive = false }
|
||||||
compileOnly('dev.engine-room.flywheel:flywheel-neoforge-1.21.1:1.0.6') { transitive = false }
|
|
||||||
testImplementation 'org.ow2.asm:asm-tree:9.8'
|
testImplementation 'org.ow2.asm:asm-tree:9.8'
|
||||||
testImplementation 'org.ow2.asm:asm-commons:9.8'
|
testImplementation 'org.ow2.asm:asm-commons:9.8'
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue