-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
34 lines (30 loc) · 857 Bytes
/
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
allprojects {
repositories {
mavenCentral()
}
}
plugins {
`maven-publish`
}
val projectsToPublish = allprojects.filter { project ->
project.name in listOf("featureA", "featureB", "featureC", "06_publish")
}
configure(projectsToPublish) {
group = "com.example.droidcon"
version = "1.0.0-SNAPSHOT"
afterEvaluate {
publishing {
repositories {
maven {
name = "droidconrepo"
url = uri("http://localhost:8081/artifactory/droidcon-maven")
credentials {
username = System.getenv("DROIDCON_USERNAME") ?: ""
password = System.getenv("DROIDCON_PASSWORD") ?: ""
}
isAllowInsecureProtocol = true
}
}
}
}
}