-
Notifications
You must be signed in to change notification settings - Fork 9
/
build.gradle
85 lines (78 loc) · 2.61 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
plugins {
id 'java'
id 'io.github.goooler.shadow' version '8.1.8'
id 'maven-publish'
}
java {
toolchain.languageVersion.set(JavaLanguageVersion.of(21))
}
group = 'me.playbosswar.com'
version = '8.11.0'
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.10.0'))
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-java21.jar"
}
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.10.0'
implementation 'io.sentry:sentry:7.0.0'
implementation 'com.j256.ormlite:ormlite-jdbc:6.1'
implementation 'org.apache.commons:commons-pool2:2.12.0'
implementation 'org.apache.commons:commons-lang3:3.17.0'
compileOnly 'org.spigotmc:spigot-api:1.21-R0.1-SNAPSHOT'
compileOnly 'me.clip:placeholderapi:2.11.6'
compileOnly 'org.jetbrains:annotations:23.1.0'
}
publishing {
publications {
maven(MavenPublication) {
groupId = 'me.playbosswar.com'
artifactId = 'commandtimer-java21'
version = '8.11.0'
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")
}
}
}
}