This repository was archived by the owner on Oct 11, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
51 lines (43 loc) · 1.39 KB
/
build.gradle.kts
File metadata and controls
51 lines (43 loc) · 1.39 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
plugins {
id("java-library")
id("io.freefair.lombok") version "8.4"
id("com.vanniktech.maven.publish") version "0.28.0"
}
version = findProperty("tag") ?: "0.0.5-SNAPSHOT"
dependencies {
compileOnly("com.destroystokyo.paper:paper-api:1.12.2-R0.1-SNAPSHOT")
compileOnly("com.mojang:brigadier:1.0.18")
compileOnly("org.jetbrains:annotations:24.1.0")
implementation("me.lucko:commodore:2.2") {
isTransitive = false
}
}
java.toolchain.languageVersion.set(JavaLanguageVersion.of(11))
mavenPublishing {
coordinates("io.github.mr-empee", "colonel", version.toString())
pom {
name.set("Colonel")
description.set("Define commands by using brigadier the official minecraft command framework ")
inceptionYear.set("2024")
url.set("https://github.com/Mr-EmPee/Colonel")
licenses {
license {
name.set("The Apache License, Version 2.0")
url.set("http://www.apache.org/licenses/LICENSE-2.0.txt")
distribution.set("http://www.apache.org/licenses/LICENSE-2.0.txt")
}
}
developers {
developer {
id.set("mr-empee")
name.set("Mr. EmPee")
url.set("https://github.com/mr-empee/")
}
}
scm {
url.set("https://github.com/Mr-EmPee/Colonel")
connection.set("scm:git:git://github.com/Mr-EmPee/Colonel.git")
developerConnection.set("scm:git:ssh://git@github.com:Mr-EmPee/Colonel.git")
}
}
}