-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle
70 lines (63 loc) · 1.85 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
plugins {
id 'java'
id 'maven-publish'
}
group 'me.anfanik.steda'
version '1.19.7.1'
repositories {
mavenCentral()
maven {
url 'https://repository.anfanik.me/public/'
}
maven {
url 'https://repository.anfanik.me/private/'
credentials {
username System.getenv("A5K_USERNAME")
password System.getenv("A5K_PASSWORD")
}
}
}
dependencies {
compileOnly 'org.projectlombok:lombok:1.18.18'
annotationProcessor 'org.projectlombok:lombok:1.18.18'
implementation 'me.anfanik:The_Seed:1.0'
implementation 'me.anfanik:DatabaseAPI:1.0'
compileOnly 'me.anfanik:sharkly:1.0'
compileOnly files(
'.library/spigot-1.12-R0.1-SNAPSHOT.jar',
'.library/spigot-1.8.8-R0.1-SNAPSHOT.jar',
'.library/spigot-1.13-R0.1-SNAPSHOT.jar',
'.library/spigot-1.13.1-R0.1-SNAPSHOT.jar',
'.library/spigot-1.16.1-R0.1-SNAPSHOT.jar',
'.library/spigot-1.16.2-R0.1-SNAPSHOT.jar',
'.library/spigot-1.16.4-R0.1-SNAPSHOT.jar'//,
//'.library/spigot-1.17-R0.1-SNAPSHOT.jar'
)
}
tasks.with {
withType(JavaCompile) {
options.encoding = 'UTF-8'
options.compilerArgs << '-Xlint:none'
}
processResources.filter { it.replace('\$version', version as String) }
jar.from configurations.runtimeClasspath.collect(project.&zipTree)
}
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
}
}
}