Skip to content

Commit

Permalink
Remove r8 dependency (#31)
Browse files Browse the repository at this point in the history
* Remove r8 dependency

* remove imports
  • Loading branch information
martinbonnin authored Nov 25, 2024
1 parent 60f745f commit 9e8daf9
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 16 deletions.
1 change: 0 additions & 1 deletion gr8-plugin-common/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ plugins {

dependencies {
compileOnly(libs.gradle.api)
implementation(libs.r8)
}

Librarian.module(project)
Expand Down
16 changes: 2 additions & 14 deletions gr8-plugin-common/src/main/kotlin/com/gradleup/gr8/Gr8Task.kt
Original file line number Diff line number Diff line change
@@ -1,22 +1,10 @@
package com.gradleup.gr8

import com.android.tools.r8.CompilationMode
import com.android.tools.r8.JdkClassFileProvider
import com.android.tools.r8.OutputMode
import com.android.tools.r8.R8
import com.android.tools.r8.R8Command
import org.gradle.api.Action
import org.gradle.api.DefaultTask
import org.gradle.api.file.*
import org.gradle.api.file.ConfigurableFileCollection
import org.gradle.api.file.RegularFileProperty
import org.gradle.api.provider.Property
import org.gradle.api.provider.Provider
import org.gradle.api.tasks.*
import org.gradle.internal.jvm.Jvm
import org.gradle.jvm.toolchain.JavaCompiler
import org.gradle.jvm.toolchain.JavaToolchainService
import org.gradle.jvm.toolchain.JavaToolchainSpec
import java.io.File
import javax.inject.Inject

@CacheableTask
abstract class Gr8Task : JavaExec() {
Expand Down
1 change: 0 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
[libraries]
gradle-api = "dev.gradleplugins:gradle-api:7.3" # for ArtifactTypeDefinition.ARTIFACT_TYPE_ATTRIBUTE
r8 = "com.android.tools:r8:8.5.35"
librarian = "com.gradleup.librarian:librarian-gradle-plugin:0.0.8-SNAPSHOT-ba3e33fb6601dae9ea75e1ef75aa9b46bf640b74"
gr8-published = "com.gradleup:gr8-plugin:0.11.0-SNAPSHOT-ac9451b86ec13bc59a090a38585fa20b88eb072e"
gradle-publish = "com.gradle.publish:plugin-publish-plugin:0.15.0"
Expand Down

0 comments on commit 9e8daf9

Please sign in to comment.