-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
36 lines (32 loc) · 908 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
plugins {
`java-library`
java
`maven-publish`
}
group = "com.msg.plcaad.edc"
version = "1.0.0"
repositories {
mavenLocal()
mavenCentral()
}
val edcVersion: String by project
publishing {
publications {
create<MavenPublication>("mavenJava") {
from(components["java"])
groupId = project.group.toString()
artifactId = rootProject.name
version = project.version.toString()
}
}
repositories {
maven {
name = "github"
url = uri("https://maven.pkg.github.com/GAIA-X4PLC-AAD/claim-compliance-provider-edc-extension")
credentials {
username = project.findProperty("gpr.user") as String? ?: System.getenv("GITHUB_ACTOR")
password = project.findProperty("gpr.token") as String? ?: System.getenv("GITHUB_TOKEN")
}
}
}
}