-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
30 lines (26 loc) · 1.37 KB
/
build.gradle.kts
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
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
// this is necessary to avoid the plugins to be loaded multiple times
// in each subproject's classloader
alias(libs.plugins.android.application) apply false
alias(libs.plugins.android.library) apply false
alias(libs.plugins.kotlin.compose) apply false
alias(libs.plugins.kotlin.multiplatform) apply false
alias(libs.plugins.kotlin.android) apply false
alias(libs.plugins.kotlin.parcelize) apply false
alias(libs.plugins.compose) apply false
alias(libs.plugins.gradle.maven.publish.plugin) apply false
alias(libs.plugins.kotlin.jvm) apply false
}
tasks.register("publishToMavenLocal") {
dependsOn(gradle.includedBuild("gradle-plugin").task(":gradle-plugin:publishToMavenLocal"))
//dependsOn(gradle.includedBuild("gradle-plugin").task(":gradle-plugin-shared:publishToMavenLocal"))
}
tasks.register("publishToMaven") {
dependsOn(gradle.includedBuild("gradle-plugin").task(":gradle-plugin:publishToMaven"))
//dependsOn(gradle.includedBuild("gradle-plugin").task(":gradle-plugin-shared:publishToMavenLocal"))
}
tasks.register("publish") {
dependsOn(gradle.includedBuild("gradle-plugin").task(":gradle-plugin:publish"))
//dependsOn(gradle.includedBuild("gradle-plugin").task(":gradle-plugin-shared:publishToMavenLocal"))
}