forked from Bkm016/TabooLib-Test-Units
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
110 lines (98 loc) · 2.59 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
buildscript {
repositories {
// maven {
// url uri("/Users/sky/Desktop/repo")
// }
mavenLocal()
}
dependencies {
classpath 'io.izzel.taboolib:taboolib-gradle-plugin:1.9'
}
}
plugins {
id 'java'
id 'maven'
// id 'io.izzel.taboolib' version '1.8'
id 'org.jetbrains.kotlin.jvm' version '1.5.10'
}
apply plugin: 'io.izzel.taboolib'
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
group = 'io.izzel.testunits'
version = '1.0.0'
taboolib {
description {
contributors {
name 'Bkm016' description 'TabooLib Developer'
name 'CziSky' description 'TabooLib Developer'
}
dependencies {
name 'Adyeshach' optional true
name 'Chemdah' with 'bukkit' optional true
name 'spongeapi' version '7.2.0' with 'sponge7'
name 'spongeapi' version '8.0.0' with 'sponge8' loadafter true
name 'ic3' with 'sponge7' mod true
}
}
install 'common'
install 'common-5'
install 'module-ai'
install 'module-ui'
install 'module-nms'
install 'module-nms-util'
install 'module-chat'
install 'module-lang'
install 'module-effect'
install 'module-kether'
install 'module-database'
install 'module-porticus'
install 'module-navigation'
install 'module-configuration'
install 'platform-bukkit', 'platform-bungee', 'platform-nukkit', 'platform-velocity'
install 'platform-sponge-api7', 'platform-sponge-api8'
version '6.0.0-es1'
}
repositories {
// maven {
// url uri("/Users/sky/Desktop/repo")
// }
mavenLocal()
mavenCentral()
}
dependencies {
implementation 'ink.ptms.core:v11605:11605'
implementation 'ink.ptms.core:v11700:11700'
implementation 'org.jetbrains.kotlin:kotlin-stdlib'
implementation fileTree(dir: 'libs', includes: ['*.jar'])
}
compileKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
java {
withSourcesJar()
}
jar {
from("LICENSE") {
rename { "${it}_${rootProject.name}" }
}
}
uploadArchives {
repositories {
mavenDeployer {
repository(url: project.findProperty('repository')) {
authentication(userName: project.findProperty('user'), password: project.findProperty('password'))
}
pom.artifactId = rootProject.name
pom.groupId = project.group
pom.version = project.version
pom.packaging = 'jar'
}
}
}