-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
75 lines (66 loc) · 1.86 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
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.6.10'
id 'maven-publish'
}
group 'dev.josantonius.minecraft.messaging'
version 'v1.0.0'
repositories {
mavenCentral()
maven { url "https://repo.purpurmc.org/snapshots" }
}
dependencies {
compileOnly("org.purpurmc.purpur:purpur-api:1.19.3-R0.1-SNAPSHOT")
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.6.10'
implementation "net.kyori:adventure-platform-bukkit:4.3.0"
}
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:deprecation"
}
compileKotlin {
kotlinOptions {
jvmTarget = "17"
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = "17"
}
}
jar {
exclude('.github/**')
exclude('.gitignore')
exclude('.CHANGELOG.md')
}
publishing {
publications {
maven(MavenPublication) {
groupId = 'dev.josantonius.minecraft.messaging'
artifactId = 'library'
version = 'v1.0.0'
pom {
name = 'Minecraft Messaging Library'
description = 'Easily send messages to players on a Minecraft server running PaperMC, Bukkit, or Spigot'
url = 'https://github.com/josantonius/minecraft-messaging'
licenses {
license {
name = 'MIT'
url = 'https://github.com/josantonius/minecraft-messaging/blob/main/LICENSE'
}
}
developers {
developer {
id = 'josantonius'
name = 'Josantonius'
email = 'hello@josantonius.dev'
}
}
}
from components.java
}
}
}