Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

Commit

Permalink
Apply cache-fix plugin from convention plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
erikghonyan authored and chrisbanes committed May 16, 2023
1 parent efbe3e4 commit 174e4fe
Show file tree
Hide file tree
Showing 48 changed files with 3 additions and 45 deletions.
1 change: 0 additions & 1 deletion android-app/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompilationTask
plugins {
id("app.tivi.android.application")
alias(libs.plugins.kotlin.android)
alias(libs.plugins.cacheFixPlugin)
alias(libs.plugins.ksp)
}

Expand Down
1 change: 0 additions & 1 deletion api/tmdb/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
plugins {
id("app.tivi.multiplatform")
alias(libs.plugins.ksp)
alias(libs.plugins.cacheFixPlugin)
}

kotlin {
Expand Down
1 change: 0 additions & 1 deletion api/trakt/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
plugins {
id("app.tivi.multiplatform")
alias(libs.plugins.ksp)
alias(libs.plugins.cacheFixPlugin)
}

kotlin {
Expand Down
1 change: 0 additions & 1 deletion common/imageloading/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

plugins {
id("app.tivi.android.library")
alias(libs.plugins.cacheFixPlugin)
alias(libs.plugins.kotlin.android)
alias(libs.plugins.ksp)
}
Expand Down
1 change: 0 additions & 1 deletion common/ui/compose/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

plugins {
id("app.tivi.android.library")
alias(libs.plugins.cacheFixPlugin)
alias(libs.plugins.kotlin.android)
}

Expand Down
1 change: 0 additions & 1 deletion common/ui/resources-compose/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

plugins {
id("app.tivi.android.library")
alias(libs.plugins.cacheFixPlugin)
alias(libs.plugins.kotlin.android)
}

Expand Down
1 change: 0 additions & 1 deletion common/ui/resources/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

plugins {
id("app.tivi.multiplatform")
alias(libs.plugins.cacheFixPlugin)
id("app.tivi.android.library")
alias(libs.plugins.moko.resources) // needs to be enabled after AGP
}
Expand Down
1 change: 0 additions & 1 deletion common/ui/view/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

plugins {
id("app.tivi.android.library")
alias(libs.plugins.cacheFixPlugin)
alias(libs.plugins.kotlin.android)
}

Expand Down
1 change: 0 additions & 1 deletion core/analytics/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
plugins {
id("app.tivi.multiplatform")
id("app.tivi.android.library")
alias(libs.plugins.cacheFixPlugin)
alias(libs.plugins.ksp)
}

Expand Down
1 change: 0 additions & 1 deletion core/logging/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
plugins {
id("app.tivi.multiplatform")
id("app.tivi.android.library")
alias(libs.plugins.cacheFixPlugin)
alias(libs.plugins.ksp)
}

Expand Down
1 change: 0 additions & 1 deletion core/performance/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
plugins {
id("app.tivi.multiplatform")
id("app.tivi.android.library")
alias(libs.plugins.cacheFixPlugin)
alias(libs.plugins.ksp)
}

Expand Down
1 change: 0 additions & 1 deletion core/powercontroller/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
plugins {
id("app.tivi.multiplatform")
id("app.tivi.android.library")
alias(libs.plugins.cacheFixPlugin)
alias(libs.plugins.ksp)
}

Expand Down
1 change: 0 additions & 1 deletion core/preferences/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
plugins {
id("app.tivi.multiplatform")
id("app.tivi.android.library")
alias(libs.plugins.cacheFixPlugin)
alias(libs.plugins.ksp)
}

Expand Down
1 change: 0 additions & 1 deletion data/db-sqldelight/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompilationTask
plugins {
id("app.tivi.multiplatform")
id("app.tivi.android.library")
alias(libs.plugins.cacheFixPlugin)
alias(libs.plugins.ksp)
alias(libs.plugins.sqldelight)
}
Expand Down
1 change: 0 additions & 1 deletion data/db/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

plugins {
id("app.tivi.multiplatform")
alias(libs.plugins.cacheFixPlugin)
}

kotlin {
Expand Down
1 change: 0 additions & 1 deletion data/episodes/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

plugins {
id("app.tivi.multiplatform")
alias(libs.plugins.cacheFixPlugin)
alias(libs.plugins.ksp)
}

Expand Down
1 change: 0 additions & 1 deletion data/followedshows/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

plugins {
id("app.tivi.multiplatform")
alias(libs.plugins.cacheFixPlugin)
alias(libs.plugins.ksp)
}

Expand Down
1 change: 0 additions & 1 deletion data/legacy/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

plugins {
id("app.tivi.multiplatform")
alias(libs.plugins.cacheFixPlugin)
alias(libs.plugins.ksp)
}

Expand Down
1 change: 0 additions & 1 deletion data/models/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

plugins {
id("app.tivi.multiplatform")
alias(libs.plugins.cacheFixPlugin)
}

kotlin {
Expand Down
1 change: 0 additions & 1 deletion data/popularshows/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

plugins {
id("app.tivi.multiplatform")
alias(libs.plugins.cacheFixPlugin)
alias(libs.plugins.ksp)
}

Expand Down
1 change: 0 additions & 1 deletion data/recommendedshows/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

plugins {
id("app.tivi.multiplatform")
alias(libs.plugins.cacheFixPlugin)
alias(libs.plugins.ksp)
}

Expand Down
1 change: 0 additions & 1 deletion data/relatedshows/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

plugins {
id("app.tivi.multiplatform")
alias(libs.plugins.cacheFixPlugin)
alias(libs.plugins.ksp)
}

Expand Down
1 change: 0 additions & 1 deletion data/search/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

plugins {
id("app.tivi.multiplatform")
alias(libs.plugins.cacheFixPlugin)
alias(libs.plugins.ksp)
}

Expand Down
1 change: 0 additions & 1 deletion data/showimages/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

plugins {
id("app.tivi.multiplatform")
alias(libs.plugins.cacheFixPlugin)
alias(libs.plugins.ksp)
}

Expand Down
1 change: 0 additions & 1 deletion data/shows/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

plugins {
id("app.tivi.multiplatform")
alias(libs.plugins.cacheFixPlugin)
alias(libs.plugins.ksp)
}

Expand Down
1 change: 0 additions & 1 deletion data/test/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

plugins {
id("app.tivi.multiplatform")
alias(libs.plugins.cacheFixPlugin)
alias(libs.plugins.ksp)
}

Expand Down
1 change: 0 additions & 1 deletion data/traktauth/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ import org.gradle.android.Versions.android
plugins {
id("app.tivi.multiplatform")
id("app.tivi.android.library")
alias(libs.plugins.cacheFixPlugin)
alias(libs.plugins.ksp)
}

Expand Down
1 change: 0 additions & 1 deletion data/traktusers/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

plugins {
id("app.tivi.multiplatform")
alias(libs.plugins.cacheFixPlugin)
alias(libs.plugins.ksp)
}

Expand Down
1 change: 0 additions & 1 deletion data/trendingshows/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

plugins {
id("app.tivi.multiplatform")
alias(libs.plugins.cacheFixPlugin)
alias(libs.plugins.ksp)
}

Expand Down
1 change: 0 additions & 1 deletion data/watchedshows/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

plugins {
id("app.tivi.multiplatform")
alias(libs.plugins.cacheFixPlugin)
alias(libs.plugins.ksp)
}

Expand Down
1 change: 0 additions & 1 deletion domain/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
plugins {
id("app.tivi.multiplatform")
alias(libs.plugins.ksp)
alias(libs.plugins.cacheFixPlugin)
}

// https://github.com/cashapp/multiplatform-paging/issues/6
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ class AndroidApplicationConventionPlugin : Plugin<Project> {
with(target) {
with(pluginManager) {
apply("com.android.application")
apply("org.gradle.android.cache-fix")
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ class AndroidLibraryConventionPlugin : Plugin<Project> {
with(target) {
with(pluginManager) {
apply("com.android.library")
apply("org.gradle.android.cache-fix")
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ class KotlinMultiplatformConventionPlugin : Plugin<Project> {
with(target) {
with(pluginManager) {
apply("org.jetbrains.kotlin.multiplatform")
apply("org.gradle.android.cache-fix")
}
}
}
Expand Down
1 change: 0 additions & 1 deletion tasks/android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

plugins {
id("app.tivi.android.library")
alias(libs.plugins.cacheFixPlugin)
alias(libs.plugins.kotlin.android)
alias(libs.plugins.ksp)
}
Expand Down
1 change: 0 additions & 1 deletion tasks/api/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

plugins {
id("app.tivi.multiplatform")
alias(libs.plugins.cacheFixPlugin)
}

kotlin {
Expand Down
1 change: 0 additions & 1 deletion ui/account/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

plugins {
id("app.tivi.android.library")
alias(libs.plugins.cacheFixPlugin)
alias(libs.plugins.kotlin.android)
alias(libs.plugins.ksp)
}
Expand Down
1 change: 0 additions & 1 deletion ui/discover/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

plugins {
id("app.tivi.android.library")
alias(libs.plugins.cacheFixPlugin)
alias(libs.plugins.kotlin.android)
alias(libs.plugins.ksp)
}
Expand Down
1 change: 0 additions & 1 deletion ui/episode/details/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

plugins {
id("app.tivi.android.library")
alias(libs.plugins.cacheFixPlugin)
alias(libs.plugins.kotlin.android)
alias(libs.plugins.ksp)
}
Expand Down
1 change: 0 additions & 1 deletion ui/episode/track/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

plugins {
id("app.tivi.android.library")
alias(libs.plugins.cacheFixPlugin)
alias(libs.plugins.kotlin.android)
alias(libs.plugins.ksp)
}
Expand Down
1 change: 0 additions & 1 deletion ui/library/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

plugins {
id("app.tivi.android.library")
alias(libs.plugins.cacheFixPlugin)
alias(libs.plugins.kotlin.android)
alias(libs.plugins.ksp)
}
Expand Down
1 change: 0 additions & 1 deletion ui/popular/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

plugins {
id("app.tivi.android.library")
alias(libs.plugins.cacheFixPlugin)
alias(libs.plugins.kotlin.android)
alias(libs.plugins.ksp)
}
Expand Down
1 change: 0 additions & 1 deletion ui/recommended/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

plugins {
id("app.tivi.android.library")
alias(libs.plugins.cacheFixPlugin)
alias(libs.plugins.kotlin.android)
alias(libs.plugins.ksp)
}
Expand Down
1 change: 0 additions & 1 deletion ui/search/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

plugins {
id("app.tivi.android.library")
alias(libs.plugins.cacheFixPlugin)
alias(libs.plugins.kotlin.android)
alias(libs.plugins.ksp)
}
Expand Down
1 change: 0 additions & 1 deletion ui/settings/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

plugins {
id("app.tivi.android.library")
alias(libs.plugins.cacheFixPlugin)
alias(libs.plugins.kotlin.android)
alias(libs.plugins.ksp)
}
Expand Down
1 change: 0 additions & 1 deletion ui/show/details/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

plugins {
id("app.tivi.android.library")
alias(libs.plugins.cacheFixPlugin)
alias(libs.plugins.kotlin.android)
alias(libs.plugins.ksp)
}
Expand Down
1 change: 0 additions & 1 deletion ui/show/seasons/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

plugins {
id("app.tivi.android.library")
alias(libs.plugins.cacheFixPlugin)
alias(libs.plugins.kotlin.android)
alias(libs.plugins.ksp)
}
Expand Down
1 change: 0 additions & 1 deletion ui/trending/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@

plugins {
id("app.tivi.android.library")
alias(libs.plugins.cacheFixPlugin)
alias(libs.plugins.kotlin.android)
alias(libs.plugins.ksp)
}
Expand Down

0 comments on commit 174e4fe

Please sign in to comment.