Skip to content

Commit 6d7bef5

Browse files
committed
dont apply ktlint to resources project
1 parent ec9ac9d commit 6d7bef5

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

build.gradle.kts

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ plugins {
1010
// alias(libs.plugins.kotlin.parcelize) apply false
1111

1212
// Android
13-
// alias(libs.plugins.android.application) apply false
14-
// alias(libs.plugins.android.library) apply false
13+
alias(libs.plugins.android.application) apply false
14+
alias(libs.plugins.android.library) apply false
1515

1616
// Other
1717
alias(libs.plugins.compose.compiler) apply false
@@ -24,10 +24,12 @@ allprojects {
2424
group = "dev.zt64.hyperion"
2525
version = "1.0.0"
2626

27-
apply(plugin = "org.jlleitschuh.gradle.ktlint")
27+
if (project.name != "resources") {
28+
apply(plugin = "org.jlleitschuh.gradle.ktlint")
2829

29-
configure<KtlintExtension> {
30-
version = rootProject.libs.versions.ktlint
30+
configure<KtlintExtension> {
31+
version = rootProject.libs.versions.ktlint
32+
}
3133
}
3234
}
3335

0 commit comments

Comments
 (0)