forked from TimoCloud/TimoCloud
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
37 lines (31 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
plugins {
id 'maven-publish'
id 'com.github.johnrengelman.shadow' version '7.0.0'
}
subprojects {
apply plugin: 'maven-publish'
apply plugin: 'java-library'
apply plugin: 'com.github.johnrengelman.shadow'
group 'cloud.timo.TimoCloud'
version '6.2.0'
compileJava {
options.compilerArgs << "-parameters"
sourceCompatibility = 8
targetCompatibility = 8
}
publishing {
// For install the project into ur .m2
publications {
mavenJava(MavenPublication) {
from components.java
}
}
}
repositories {
mavenLocal()
maven { url 'https://repo.codemc.io/repository/nms/' }
maven { url 'https://oss.sonatype.org/content/repositories/snapshots'}
maven { url 'https://repo.extendedclip.com/content/repositories/placeholderapi/' }
mavenCentral()
}
}