-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
40 lines (34 loc) · 984 Bytes
/
build.gradle
File metadata and controls
40 lines (34 loc) · 984 Bytes
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
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 'dev.henko'
version '0.1.3-SNAPSHOT'
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://s01.oss.sonatype.org/content/repositories/snapshots/'}
mavenCentral()
}
dependencies {
compileOnly 'org.jetbrains:annotations:16.0.2'
}
}