-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
54 lines (45 loc) · 1.27 KB
/
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
47
48
49
50
51
52
53
54
plugins {
id 'java'
id 'maven-publish'
}
group 'me.anfanik.steda'
version '1.2'
repositories {
mavenCentral()
maven { url 'https://repository.anfanik.me/public' }
maven { url 'https://repo.dmulloy2.net/nexus/repository/public/' }
}
dependencies {
compileOnly 'org.projectlombok:lombok:1.18.12'
annotationProcessor 'org.projectlombok:lombok:1.18.12'
compile 'com.fasterxml.jackson.core:jackson-databind:2.9.6'
compileOnly('org.spigotmc:spigot:1.8.8-R0.1-SNAPSHOT')
compileOnly('me.anfanik.steda:stedaapi:1.19.5')
compileOnly 'com.comphenix.protocol:ProtocolLib:4.5.0'
}
tasks.with {
withType(JavaCompile) {
options.encoding = 'UTF-8'
options.compilerArgs << '-Xlint:none'
}
processResources.filter { it.replace('\$version', version as String) }
}
publishing {
repositories {
maven {
url 'https://repository.anfanik.me/public'
credentials {
username System.getenv('A5K_USERNAME')
password System.getenv('A5K_PASSWORD')
}
}
}
publications {
maven(MavenPublication) {
groupId project.group
artifactId project.name
version project.version
artifact jar
}
}
}