-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
46 lines (36 loc) · 940 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 'com.github.johnrengelman.shadow' version '7.1.2'
}
subprojects {
apply plugin: 'java'
apply plugin: 'java-library'
apply plugin: 'maven-publish'
apply plugin: 'com.github.johnrengelman.shadow'
group 'com.github.kafeindev.commands'
version '1.3.0'
sourceCompatibility = 8
targetCompatibility = 8
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
repositories {
mavenCentral()
maven { url = 'https://jitpack.io' }
}
dependencies {
compileOnly 'com.google.guava:guava:31.1-jre'
compileOnly 'org.jetbrains:annotations:23.0.0'
}
shadowJar {
archiveClassifier = null
}
publishing {
publications {
maven(MavenPublication) {
groupId = project.group
version = project.version
from components.java
}
}
}
}