forked from Apisium/NekoEssentials
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
54 lines (46 loc) · 1.19 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
//file:noinspection GroovyAssignabilityCheck
//file:noinspection GroovyAssignabilityCheck
plugins {
id 'java'
id 'idea'
id 'maven-publish'
}
group 'studio.baka.neko'
version '0.0.2'
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
repositories {
mavenCentral()
maven {
name = 'papermc'
url = 'https://papermc.io/repo/repository/maven-public/'
}
maven {
name = 'sonatype'
url = 'https://oss.sonatype.org/content/groups/public/'
}
}
dependencies {
compileOnly 'org.spigotmc:plugin-annotations:1.2.3-SNAPSHOT'
compileOnly 'io.papermc.paper:paper-api:1.18.2-R0.1-SNAPSHOT'
compileOnly 'io.netty:netty-buffer:4.1.75.Final'
annotationProcessor 'org.spigotmc:plugin-annotations:1.2.3-SNAPSHOT'
implementation('org.iq80.leveldb:leveldb:0.12') {
exclude group: 'com.google.guava'
}
}
jar {
from {
configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
}
}
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
}
publishing {
publications {
maven(MavenPublication) {
from components.java
}
}
}