-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
42 lines (35 loc) · 858 Bytes
/
build.gradle
File metadata and controls
42 lines (35 loc) · 858 Bytes
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
plugins {
id 'maven-publish'
id 'org.jetbrains.kotlin.jvm' version '1.9.0'
id 'com.gradleup.shadow' version '8.3.3'
}
group = "dev.trinsic.library"
version = "1.0"
kotlin {
jvmToolchain(19)
}
publishing {
publications {
shadow(MavenPublication) {
publication -> project.shadow.component(publication)
}
}
repositories {
maven {
url "https://repo.trinsic.dev/repository/minecraft-public/"
credentials {
username = System.getenv("MAVEN_USERNAME")
password = System.getenv("MAVEN_PASSWORD")
}
}
}
}
repositories {
mavenCentral()
maven {
url = 'https://hub.spigotmc.org/nexus/content/repositories/snapshots/'
}
}
dependencies {
compileOnly 'org.spigotmc:spigot-api:1.21.1-R0.1-SNAPSHOT'
}