diff --git a/gradle-license-plugin/src/main/kotlin/com/jaredsburrows/license/ProjectAndroid.kt b/gradle-license-plugin/src/main/kotlin/com/jaredsburrows/license/ProjectAndroid.kt index ae870ba2..58f3de1a 100644 --- a/gradle-license-plugin/src/main/kotlin/com/jaredsburrows/license/ProjectAndroid.kt +++ b/gradle-license-plugin/src/main/kotlin/com/jaredsburrows/license/ProjectAndroid.kt @@ -51,14 +51,14 @@ internal fun Project.configureAndroidProject() { } } - is FeaturePlugin -> { - extensions.getByType(FeatureExtension::class.java).run { - configureVariant(this, featureVariants) - configureVariant(this, libraryVariants) - configureVariant(this, testVariants) - configureVariant(this, unitTestVariants) - } - } +// is FeaturePlugin -> { +// extensions.getByType(FeatureExtension::class.java).run { +// configureVariant(this, featureVariants) +// configureVariant(this, libraryVariants) +// configureVariant(this, testVariants) +// configureVariant(this, unitTestVariants) +// } +// } is LibraryPlugin -> { extensions.getByType(LibraryExtension::class.java).run { diff --git a/gradle-license-plugin/src/test/groovy/com/jaredsburrows/license/LicensePluginSpec.groovy b/gradle-license-plugin/src/test/groovy/com/jaredsburrows/license/LicensePluginSpec.groovy index 5aafe866..eda0918c 100644 --- a/gradle-license-plugin/src/test/groovy/com/jaredsburrows/license/LicensePluginSpec.groovy +++ b/gradle-license-plugin/src/test/groovy/com/jaredsburrows/license/LicensePluginSpec.groovy @@ -233,7 +233,7 @@ final class LicensePluginSpec extends Specification { } dependencies { - classpath "com.android.tools.build:gradle:$agpVersion" +// classpath "com.android.tools.build:gradle:$agpVersion" classpath files($classpathString) } } @@ -263,7 +263,7 @@ final class LicensePluginSpec extends Specification { 'android', 'com.android.application', // FeaturePlugin - 'com.android.feature', +// 'com.android.feature', // LibraryPlugin 'android-library', 'com.android.library', diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index f5da2b2b..a47b3b95 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -11,7 +11,7 @@ versions = { id = "com.github.ben-manes.versions", version = "0.51.0" } license = { id = "com.jaredsburrows.license", version = "0.9.4" } [libraries] -android-plugin = { module = "com.android.tools.build:gradle", version = "3.6.4" } +android-plugin = { module = "com.android.tools.build:gradle", version = "8.2.2" } commons = { module = "org.apache.commons:commons-csv", version = "1.10.0" } moshi = { module = "com.squareup.moshi:moshi", version = "1.15.0" } kotlin-bom = { module = "org.jetbrains.kotlin:kotlin-bom", version.ref = "kotlin" }