Skip to content

Commit

Permalink
Revert "Build: apply Android plugin using version catalog alias"
Browse files Browse the repository at this point in the history
This reverts commit 400a48f.

Gradle 8.7 still requires a version for plugins in version catalog.
  • Loading branch information
UweTrottmann committed Dec 5, 2024
1 parent 74813ae commit cb3759f
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 8 deletions.
2 changes: 1 addition & 1 deletion api/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
alias(libs.plugins.android.library)
id("com.android.library")
id("maven-publish")
id("signing")
}
Expand Down
2 changes: 1 addition & 1 deletion app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import java.io.FileInputStream
import java.util.Properties

plugins {
alias(libs.plugins.android)
id("com.android.application")
kotlin("android")
kotlin("kapt")
alias(libs.plugins.ksp)
Expand Down
4 changes: 2 additions & 2 deletions backend/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
alias(libs.plugins.android.library)
kotlin("android")
id("com.android.library")
id("org.jetbrains.kotlin.android")
// id("com.google.cloud.tools.endpoints-framework-client")
}

Expand Down
2 changes: 1 addition & 1 deletion billing/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
alias(libs.plugins.android.library)
id("com.android.library")
kotlin("android")
alias(libs.plugins.ksp)
}
Expand Down
2 changes: 0 additions & 2 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,6 @@ androidx-lifecycle-compose = { module = "androidx.lifecycle:lifecycle-viewmodel-
# https://developer.android.com/build/releases/gradle-plugin
# 8.7.0+ has false positive lint error for SCHEDULE_EXACT_ALARM permission https://issuetracker.google.com/issues/375352607
android = { id = "com.android.application", version = "8.6.1" }
# The library plugin is included with the application plugin, just add this to apply using an alias
android-library = { id = "com.android.library" }
# https://kotlinlang.org/docs/releases.html#release-details
# When updating, must also update compose plugin.
# Also look for compatible Gradle and Android Plugin versions:
Expand Down
2 changes: 1 addition & 1 deletion widgets/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
alias(libs.plugins.android.library)
id("com.android.library")
kotlin("android")
}

Expand Down

0 comments on commit cb3759f

Please sign in to comment.