-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
46 lines (36 loc) · 1021 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
import org.apache.tools.ant.filters.ReplaceTokens
apply plugin: 'java'
group = 'com.gmail.necnionch.myplugin'
version = '1.1.0'
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
repositories {
mavenCentral()
maven {
name = 'sonatype'
url = 'https://oss.sonatype.org/content/repositories/snapshots'
}
maven {
name = 'spigotmc-repo'
url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/'
}
}
dependencies {
implementation 'org.jetbrains:annotations:23.0.0'
compileOnly 'net.md-5:bungeecord-api:1.19-R0.1-SNAPSHOT'
compileOnly 'org.spigotmc:spigot-api:1.19.2-R0.1-SNAPSHOT'
compile('org.apache.lucene:lucene-spellchecker:3.6.2')
}
processResources {
from(sourceSets.main.resources.srcDirs) {
filter ReplaceTokens, tokens: [version: version]
}
}
jar {
from {
configurations.compile.collect {
it.isDirectory() ? it : zipTree(it)
}
}
}
compileJava.options.encoding = 'UTF-8'