Skip to content

Commit

Permalink
Replace R8 binary with maven dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Goooler authored and jzbrooks committed Jul 20, 2024
1 parent 1eb0a79 commit 951a3fb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
google()
}
}

Expand Down
Binary file removed tools/r8.jar
Binary file not shown.
6 changes: 5 additions & 1 deletion vgo/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,17 @@ sourceSets {
}
}

val r8: Configuration by configurations.creating

dependencies {
implementation(project(":vgo-core"))

testImplementation("com.willowtreeapps.assertk:assertk-jvm:0.28.0")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.10.2")
testImplementation("org.junit.jupiter:junit-jupiter-params")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")

r8("com.android.tools:r8:8.3.37")
}

tasks {
Expand Down Expand Up @@ -112,7 +116,7 @@ tasks {

val javaHome = System.getProperty("java.home")

classpath("$rootDir/tools/r8.jar")
classpath(r8)
mainClass = "com.android.tools.r8.R8"

args(
Expand Down

0 comments on commit 951a3fb

Please sign in to comment.