-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
30 lines (26 loc) · 975 Bytes
/
build.gradle
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
plugins {
id("com.github.johnrengelman.shadow") version "8.1.1" apply(false)
id("io.micronaut.application") version "${micronautGradlePluginVersion}" apply(false)
id("io.micronaut.aot") version "${micronautGradlePluginVersion}" apply(false)
id("io.micronaut.docker") version "${micronautGradlePluginVersion}" apply(false)
id("com.google.protobuf") version "0.9.4" apply(false)
id("maven-publish")
}
publishing {
publications {
maven(MavenPublication) {
groupId = 'com.tcn.exile.sati'
// from components.java
}
}
repositories {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/tcncloud/sati")
credentials {
username = project.findProperty("gpr.user") ?: System.getenv("GITHUB_USERNAME")
password = project.findProperty("gpr.key") ?: System.getenv("GITHUB_TOKEN")
}
}
}
}