-
Notifications
You must be signed in to change notification settings - Fork 11
/
build.gradle.kts
39 lines (35 loc) · 1.08 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
31
32
33
34
35
36
37
38
39
plugins {
alias(libs.plugins.android.application) apply false
alias(libs.plugins.android.library) apply false
alias(libs.plugins.compose.compiler) apply false
alias(libs.plugins.kotlin.jvm) apply false
alias(libs.plugins.kotlin.parcelize) apply false
alias(libs.plugins.kotlin.serialization) apply false
alias(libs.plugins.hilt) apply false
alias(libs.plugins.ksp) apply false
}
task<Delete>("clean") {
delete(layout.buildDirectory)
}
subprojects {
val baseVersionName by extra("1.1.8")
apply(plugin = "maven-publish")
configure<PublishingExtension> {
publications {
all {
group = "dev.sanmer.pi"
version = baseVersionName
}
}
repositories {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/SanmerApps/PI")
credentials {
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
}
}
}
}
}