forked from jarnedemeulemeester/findroid
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
37 lines (32 loc) · 1.18 KB
/
Copy pathbuild.gradle.kts
File metadata and controls
37 lines (32 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import com.android.build.api.dsl.CommonExtension
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
alias(libs.plugins.android.application) apply false
alias(libs.plugins.android.library) apply false
alias(libs.plugins.kotlin.android) apply false
alias(libs.plugins.kotlin.parcelize) apply false
alias(libs.plugins.kotlin.serialization) apply false
alias(libs.plugins.androidx.navigation.safeargs) apply false
alias(libs.plugins.hilt) apply false
alias(libs.plugins.aboutlibraries) apply false
alias(libs.plugins.ksp) apply false
alias(libs.plugins.ktlint) apply false
}
allprojects {
repositories {
google()
mavenCentral()
}
val configureAndroid = { _: AppliedPlugin ->
extensions.configure<CommonExtension<*, *, *, *, *>>("android") {
lint {
informational += "MissingTranslation"
}
}
}
pluginManager.withPlugin("com.android.library", configureAndroid)
pluginManager.withPlugin("com.android.application", configureAndroid)
}
tasks.create<Delete>("clean") {
delete(rootProject.layout.buildDirectory)
}