-
Notifications
You must be signed in to change notification settings - Fork 10
/
build.gradle
88 lines (79 loc) · 2.53 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
plugins {
id 'java'
id 'com.github.johnrengelman.shadow' version '7.0.0'
id 'maven-publish'
}
java {
toolchain.languageVersion.set(JavaLanguageVersion.of(8))
}
group = 'me.playbosswar.com'
version = '8.11.2'
description = 'CommandTimer'
repositories {
mavenLocal()
maven {
url = 'https://repo1.maven.org/maven2'
}
maven {
url = 'https://papermc.io/repo/repository/maven-public/'
}
maven {
url = 'https://repo.extendedclip.com/content/repositories/placeholderapi/'
}
maven {
url = 'https://repo.codemc.io/repository/maven-snapshots/'
}
maven {
url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/'
}
}
shadowJar {
dependencies {
include(dependency('fr.minuskube.inv:smart-invs:1.2.7'))
include(dependency('com.github.cryptomorin:XSeries:8.6.2'))
include(dependency('joda-time:joda-time:2.10.13'))
include(dependency('org.jeasy:easy-rules-core:4.1.0'))
include(dependency('org.apache.commons:commons-text:1.9'))
include(dependency('io.sentry:sentry:7.0.0'))
include(dependency('com.j256.ormlite:ormlite-jdbc:6.1'))
}
// Needed in case the server software already packs sentry
relocate 'io.sentry', 'me.playbosswar.com.commandtimer.sentry'
archiveFileName = "commandtimer-java8.jar"
}
compileJava {
options.encoding = "UTF-8"
}
dependencies {
implementation 'com.github.cryptomorin:XSeries:8.6.2'
implementation 'fr.minuskube.inv:smart-invs:1.2.7'
implementation 'joda-time:joda-time:2.10.13'
implementation 'org.jeasy:easy-rules-core:4.1.0'
implementation 'com.googlecode.json-simple:json-simple:1.1.1'
implementation 'org.apache.commons:commons-text:1.9'
implementation 'io.sentry:sentry:7.0.0'
implementation 'com.j256.ormlite:ormlite-jdbc:6.1'
compileOnly 'org.spigotmc:spigot-api:1.8.8-R0.1-SNAPSHOT'
compileOnly 'me.clip:placeholderapi:2.11.6'
compileOnly 'org.jetbrains:annotations:23.0.0'
}
publishing {
publications {
maven(MavenPublication) {
groupId = 'me.playbosswar.com'
artifactId = 'commandtimer'
version = '8.11.2'
from components.java
}
}
repositories {
maven {
name = "GitHubPackages"
url = "https://maven.pkg.github.com/titivermeesch/CommandTimer"
credentials {
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
}
}
}
}