-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
38 lines (33 loc) · 912 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
30
31
32
33
34
35
36
37
38
subprojects {
apply plugin: 'java'
apply plugin: 'maven-publish'
group 'com.cyr1en'
version = "1.0-SNAPSHOT"
sourceCompatibility = '17'
targetCompatibility = '17'
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
if (!project.name.equals('voxx-client')) {
publishing {
repositories {
maven {
name = "Kakuno"
url = uri("https://repo.cyr1en.com/snapshots")
credentials {
username = System.getenv("KAKUNO_USER")
password = System.getenv("KAKUNO_TOKEN")
}
}
}
publications {
gpr(MavenPublication) {
from(components.java)
}
}
}
}
repositories {
mavenCentral()
}
}