WIP jitpack-less build

This commit is contained in:
Anuken
2026-02-11 19:42:00 -05:00
parent b22cfa0c74
commit 633105305a
4 changed files with 16 additions and 2 deletions

View File

@@ -122,8 +122,13 @@ dependencies{
implementation arcModule("backends:backend-android")
implementation 'com.jakewharton.android.repackaged:dalvik-dx:9.0.0_r3'
natives "com.github.Anuken.Arc:natives-android:$arcHash"
natives "com.github.Anuken.Arc:natives-freetype-android:$arcHash"
if(localArc){
natives arcModule(":natives-android")
natives arcModule(":natives-freetype-android")
}else{
natives "com.github.Anuken.Arc:natives-android:$arcHash"
natives "com.github.Anuken.Arc:natives-freetype-android:$arcHash"
}
def version, highestVersion
new File((String)findSdkDir(), "/platforms").eachFileMatch ~/android-\d+/, {
@@ -136,6 +141,9 @@ dependencies{
}
task copyAndroidNatives(){
if(localArc){
dependsOn "com.github.Anuken:natives-android:jar", "com.github.Anuken:natives-freetype-android:jar"
}
configurations.natives.files.each{ jar ->
copy{
from zipTree(jar)