-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
39 lines (35 loc) · 967 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
35
36
37
38
39
val extra = project.extra;
extra.set("skipList", listOf("alpha", "beta", "m1", "rc", "cr", "m", "preview", "snapshot", "b", "ea"))
subprojects {
apply<JavaLibraryPlugin>()
apply<MavenPublishPlugin>()
group = "io.wisetime"
configure<JavaPluginExtension> {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
withSourcesJar()
}
configure<PublishingExtension> {
repositories {
maven {
setUrl("s3://artifacts.wisetime.com/mvn2/releases")
authentication {
create<AwsImAuthentication>("awsIm")
}
}
maven {
url = uri("artifactregistry://europe-west3-maven.pkg.dev/wise-pub/java")
credentials {
username = "_json_key_base64"
password = System.getenv("PUBLISH_KEY")
}
authentication {
create<BasicAuthentication>("basic")
}
}
}
}
repositories {
mavenCentral()
}
}