-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
51 lines (45 loc) · 1.42 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
40
41
42
43
44
45
46
47
48
49
50
51
import org.jetbrains.kotlinx.publisher.apache2
import org.jetbrains.kotlinx.publisher.developer
import org.jetbrains.kotlinx.publisher.githubRepo
plugins {
id("org.jetbrains.kotlin.jvm") version "1.8.22"
kotlin("libs.publisher") version "0.0.61-dev-34"
}
repositories {
mavenCentral()
maven(url = "https://jitpack.io")
}
kotlinPublications {
defaultGroup.set("com.github.cmdjulian")
fairDokkaJars.set(false)
pom {
inceptionYear.set("2023")
licenses {
apache2()
}
githubRepo("cmdjulian", "bouncy-castle-graalvm")
developers {
developer("cmdjulian", "Julian Goede", "[email protected]")
}
}
localRepositories {
defaultLocalMavenRepository()
}
}
subprojects {
// only configured if subProject applies the publishing plugin
plugins.withId("org.jetbrains.kotlin.libs.publisher") {
publishing {
repositories {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/cmdjulian/bouncy-castle-graalvm")
credentials {
username = project.findProperty("gpr.user") as? String? ?: System.getenv("GITHUB_ACTOR")
password = project.findProperty("gpr.key") as? String? ?: System.getenv("GITHUB_TOKEN")
}
}
}
}
}
}