Skip to content

Commit 9c5b880

Browse files
authored
build: move to smali fork (#4027)
1 parent 191cc3b commit 9c5b880

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

build.gradle.kts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,14 @@ plugins {
6363
allprojects {
6464
repositories {
6565
mavenCentral()
66+
// Obtain baksmali/smali from source builds - https://github.com/iBotPeaches/smali
67+
// Remove when official smali releases come out again.
68+
maven {
69+
url = uri("https://jitpack.io")
70+
content {
71+
includeGroup("com.github.iBotPeaches.smali")
72+
}
73+
}
6674
google()
6775
}
6876
}

gradle/libs.versions.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
[versions]
2-
baksmali = "3.0.9"
2+
baksmali = "b6365a84f4" # https://github.com/google/smali/issues/100
33
commons_io = "2.21.0"
44
commons_cli = "1.11.0"
55
commons_lang3 = "3.20.0"
66
commons_text = "1.14.0"
77
guava = "33.5.0-jre"
88
junit = "4.13.2"
99
r8 = "8.7.18"
10-
smali = "3.0.9"
10+
smali = "b6365a84f4" # https://github.com/google/smali/issues/100
1111
xmlpull = "1.1.3.1"
1212
xmlunit = "2.11.0"
1313

1414
[libraries]
15-
baksmali = { module = "com.android.tools.smali:smali-baksmali", version.ref = "baksmali" }
15+
baksmali = { module = "com.github.iBotPeaches.smali:smali-baksmali", version.ref = "baksmali" }
1616
commons_cli = { module = "commons-cli:commons-cli", version.ref = "commons_cli"}
1717
commons_io = { module = "commons-io:commons-io", version.ref = "commons_io" }
1818
commons_lang3 = { module = "org.apache.commons:commons-lang3", version.ref = "commons_lang3" }
1919
commons_text = { module = "org.apache.commons:commons-text", version.ref = "commons_text" }
2020
guava = { module = "com.google.guava:guava", version.ref = "guava" }
2121
junit = { module = "junit:junit", version.ref = "junit" }
2222
r8 = { module = "com.android.tools:r8", version.ref = "r8" }
23-
smali = { module = "com.android.tools.smali:smali", version.ref = "smali" }
23+
smali = { module = "com.github.iBotPeaches.smali:smali", version.ref = "smali" }
2424
xmlpull = { module = "xmlpull:xmlpull", version.ref = "xmlpull" }
2525
xmlunit = { module = "org.xmlunit:xmlunit-legacy", version.ref = "xmlunit" }

0 commit comments

Comments
 (0)