-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
46 lines (39 loc) · 901 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
39
40
41
42
43
44
45
46
plugins {
id 'java'
id 'maven-publish'
}
group = 'space.provided'
version = '2.0.1'
java {
withSourcesJar()
}
repositories {
mavenCentral()
maven {
url 'https://registry.provided.space'
content {
includeModule 'space.provided', 'rs4j'
}
}
}
dependencies {
implementation 'space.provided:rs4j:1.0.1'
implementation 'com.google.auto.service:auto-service-annotations:1.1.1'
annotationProcessor 'com.google.auto.service:auto-service:1.1.1'
}
publishing {
publications {
maven(MavenPublication) {
from components.java
}
}
repositories {
maven {
url = 'https://registry.provided.space'
credentials {
username = System.getenv('REGISTRY_USERNAME')
password = System.getenv('REGISTRY_PASSWORD')
}
}
}
}