-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathbuild.gradle
More file actions
67 lines (56 loc) · 1.71 KB
/
Copy pathbuild.gradle
File metadata and controls
67 lines (56 loc) · 1.71 KB
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
55
56
57
58
59
60
61
62
63
64
65
66
67
import org.apache.tools.ant.filters.ReplaceTokens
buildscript {
ext.kotlin_version = '1.6.10'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
buildscript {
repositories {
gradlePluginPortal()
}
dependencies {
classpath 'com.gradleup.shadow:shadow-gradle-plugin:8.3.9'
}
}
group 'net.skripthub'
version '1.17'
apply plugin: 'com.gradleup.shadow'
apply plugin: 'java'
apply plugin: 'kotlin'
processResources {
from("src/main/resources") {
duplicatesStrategy = 'include'
filter ReplaceTokens, tokens: ["version": project.version]
}
}
repositories {
mavenCentral()
maven {
url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/'
content {
includeGroup 'org.bukkit'
includeGroup 'org.spigotmc'
}
}
maven { url = 'https://oss.sonatype.org/content/repositories/snapshots' }
maven { url = 'https://oss.sonatype.org/content/repositories/central' }
maven { url 'https://repo.destroystokyo.com/repository/maven-public/' }
maven { url 'https://repo.papermc.io/repository/maven-public/' }
maven { url 'https://repo.skriptlang.org/releases' }
maven { url 'https://jitpack.io' }
}
dependencies {
implementation 'com.github.SkriptLang:Skript:2.15.0'
implementation group: 'org.spigotmc', name: 'spigot-api', version:'1.19.4-R0.1-SNAPSHOT'
testImplementation group: 'junit', name: 'junit', version: '4.13.1'
}
shadowJar {
dependencies {
include dependency("org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version")
}
relocate 'kotlin', 'net.skripthub.docstool'
}