This repository has been archived by the owner on Sep 4, 2024. It is now read-only.
forked from eyesniper2/skRayFall
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
102 lines (87 loc) · 3.35 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
buildscript {
ext.kotlin_version = '1.6.10'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
buildscript {
repositories {
gradlePluginPortal()
}
dependencies {
classpath 'gradle.plugin.com.github.jengelman.gradle.plugins:shadow:7.0.0'
}
}
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: 'java'
apply plugin: "kotlin"
compileJava.options.encoding = 'UTF-8'
compileTestJava.options.encoding = 'UTF-8'
// compileJava.options.verbose = true
group = 'net.rayfall.eyesniper2.skrayfall'
version = '1.10.0'
description = """"""
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://maven.citizensnpcs.co/repo" }
maven { url = "https://repo.codemc.org/repository/maven-public" }
maven {
url = "http://maven.elmakers.com/repository/"
allowInsecureProtocol true
}
maven { url = "https://repo1.maven.org/maven2/" }
maven { url = "https://repo.inventivetalent.org/content/groups/public/" }
maven { url = 'https://repo.destroystokyo.com/repository/maven-public/' }
maven { url = 'https://ci.emc.gs/nexus/content/groups/aikar/' }
maven { url = 'https://papermc.io/repo/repository/maven-public/' }
maven { url = 'https://jitpack.io' }
repositories {
maven {
name = 'repo'
url = 'https://maven.pkg.github.com/BlockWarsMC/Skript'
credentials {
username = System.getenv('GITHUB_USER')
password = System.getenv('GITHUB_TOKEN')
}
}
}
}
dependencies {
implementation 'games.blockwars.skript:skript:2.7.0-beta2-blockwars-7e5a9630'
implementation group: 'org.bstats', name: 'bstats-bukkit', version:'1.7'
implementation group: 'de.slikey', name: 'EffectLib', version:'6.5-SNAPSHOT'
implementation 'com.github.gravitylow:Updater:2.3'
implementation group: 'org.eclipse.jdt', name: 'org.eclipse.jdt.annotation', version:'1.1.0'
implementation 'io.papermc.paper:paper-api:1.19.1-R0.1-SNAPSHOT'
implementation "net.kyori:adventure-platform-bukkit:4.1.2"
implementation "net.kyori:adventure-text-serializer-bungeecord:4.1.2"
testImplementation group: 'org.jetbrains.kotlin', name: 'kotlin-test', version:"$kotlin_version"
compileOnly 'com.github.InventivetalentDev:BossBarAPI:2.4.3-SNAPSHOT'
implementation group: 'net.citizensnpcs', name: 'citizensapi', version:'2.0.28-SNAPSHOT'
compileOnly fileTree(dir: 'libs', include: ['*.jar'])
}
shadowJar {
dependencies {
include dependency('com.github.gravitylow:Updater')
include dependency('org.bstats:bstats-bukkit')
include dependency('de.slikey:EffectLib:6.5-SNAPSHOT')
include dependency("org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version")
include dependency("net.kyori:adventure-platform-bukkit:4.1.2")
include dependency("net.kyori:adventure-text-serializer-bungeecord:4.1.2")
}
}
build {
dependsOn(shadowJar)
}