Skip to content

Commit

Permalink
Only apply lint to published libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
bentrengrove committed Nov 26, 2024
1 parent 4fd5d33 commit 1752b31
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 8 deletions.
1 change: 0 additions & 1 deletion adaptive/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ plugins {
alias(libs.plugins.accompanist.android.library)
alias(libs.plugins.accompanist.android.library.compose)
alias(libs.plugins.accompanist.android.library.published)
alias(libs.plugins.accompanist.android.lint)
}

android {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import me.tylerbwong.gradle.metalava.extension.MetalavaExtension
import org.gradle.api.Plugin
import org.gradle.api.Project
import org.gradle.kotlin.dsl.apply
import org.gradle.kotlin.dsl.configure

/*
Expand All @@ -23,6 +24,8 @@ class AndroidLibraryPublishedConventionPlugin : Plugin<Project> {
override fun apply(target: Project) {
with(target) {
with(pluginManager) {
apply(AndroidLintConventionPlugin::class)

apply("me.tylerbwong.gradle.metalava")
apply("org.jetbrains.dokka")
apply("com.vanniktech.maven.publish")
Expand Down
1 change: 0 additions & 1 deletion drawablepainter/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ plugins {
alias(libs.plugins.accompanist.android.library)
alias(libs.plugins.accompanist.android.library.compose)
alias(libs.plugins.accompanist.android.library.published)
alias(libs.plugins.accompanist.android.lint)
}

android {
Expand Down
1 change: 0 additions & 1 deletion internal-testutils/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
plugins {
alias(libs.plugins.accompanist.android.library)
alias(libs.plugins.accompanist.android.library.compose)
alias(libs.plugins.accompanist.android.lint)
}

android {
Expand Down
1 change: 0 additions & 1 deletion navigation-animation/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ plugins {
alias(libs.plugins.accompanist.android.library)
alias(libs.plugins.accompanist.android.library.compose)
alias(libs.plugins.accompanist.android.library.published)
alias(libs.plugins.accompanist.android.lint)
}

android {
Expand Down
1 change: 0 additions & 1 deletion navigation-material/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ plugins {
alias(libs.plugins.accompanist.android.library)
alias(libs.plugins.accompanist.android.library.compose)
alias(libs.plugins.accompanist.android.library.published)
alias(libs.plugins.accompanist.android.lint)
}

android {
Expand Down
1 change: 0 additions & 1 deletion permissions/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ plugins {
alias(libs.plugins.accompanist.android.library)
alias(libs.plugins.accompanist.android.library.compose)
alias(libs.plugins.accompanist.android.library.published)
alias(libs.plugins.accompanist.android.lint)
}

android {
Expand Down
1 change: 0 additions & 1 deletion systemuicontroller/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ plugins {
alias(libs.plugins.accompanist.android.library)
alias(libs.plugins.accompanist.android.library.compose)
alias(libs.plugins.accompanist.android.library.published)
alias(libs.plugins.accompanist.android.lint)
}

android {
Expand Down
1 change: 0 additions & 1 deletion testharness/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ plugins {
alias(libs.plugins.accompanist.android.library)
alias(libs.plugins.accompanist.android.library.compose)
alias(libs.plugins.accompanist.android.library.published)
alias(libs.plugins.accompanist.android.lint)
}

android {
Expand Down

0 comments on commit 1752b31

Please sign in to comment.