File tree 3 files changed +18
-22
lines changed
groovy/io/izzel/taboolib/gradle
kotlin/io/izzel/taboolib/gradle
3 files changed +18
-22
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ plugins {
8
8
}
9
9
10
10
group = " io.izzel.taboolib"
11
- version = " 2.0.19 "
11
+ version = " 2.0.20 "
12
12
13
13
configurations {
14
14
create(" embed" ) {
Original file line number Diff line number Diff line change @@ -45,7 +45,6 @@ class TabooLibPlugin implements Plugin<Project> {
45
45
// 注册配置
46
46
def taboo = project. configurations. maybeCreate(' taboo' ) // 这个名字起的着实二逼
47
47
def include = project. configurations. maybeCreate(' include' ) // 这个代替 "taboo"
48
- def dynamic = project. configurations. maybeCreate(' dynamic' ) // 这个还没做完
49
48
50
49
// 添加依赖以及重定向配置
51
50
project. afterEvaluate {
@@ -59,9 +58,6 @@ class TabooLibPlugin implements Plugin<Project> {
59
58
// 继承 "taboo", "include" 配置
60
59
project. configurations. implementation. extendsFrom(taboo)
61
60
project. configurations. implementation. extendsFrom(include)
62
- // 继承 "dynamic" 配置
63
- project. configurations. compileOnly. extendsFrom(dynamic)
64
- project. configurations. testImplementation. extendsFrom(dynamic)
65
61
66
62
// 自动引入 com.mojang:datafixerupper:4.0.26
67
63
project. dependencies. add(' compileOnly' , ' com.mojang:datafixerupper:4.0.26' )
Original file line number Diff line number Diff line change @@ -79,8 +79,7 @@ val BukkitNMSUtil = arrayOf(
79
79
" bukkit-nms-tag-12005" ,
80
80
" bukkit-nms-tag-legacy" ,
81
81
" bukkit-nms" ,
82
- * BukkitUtil ,
83
- )
82
+ ) + BukkitUtil
84
83
85
84
/* *
86
85
* Bukkit NMS ItemTag 工具
@@ -120,50 +119,51 @@ val Database = arrayOf(
120
119
/* *
121
120
* Alkaid Redis
122
121
*/
123
- val DatabaseAlkaidRedis = arrayOf(
122
+ val AlkaidRedis = arrayOf(
124
123
" database-alkaid-redis" ,
125
124
" basic-configuration" ,
126
125
)
127
126
128
127
/* *
129
128
* IOC
130
129
*/
131
- val DatabaseIoc = arrayOf(
130
+ val IOC = arrayOf(
132
131
" database-ioc" ,
133
132
" basic-configuration" ,
134
133
)
135
134
135
+ /* *
136
+ * ORM
137
+ */
138
+ val ORM = arrayOf(" database-orm" ) + Database
139
+
136
140
/* *
137
141
* Lettuce Redis
138
142
*/
139
- val DatabaseLettuceRedis = arrayOf(
143
+ val LettuceRedis = arrayOf(
140
144
" database-lettuce-redis" ,
141
145
" basic-configuration" ,
142
146
)
143
147
144
148
/* *
145
149
* 玩家数据库
146
150
*/
147
- val DatabasePlayer = arrayOf(
148
- " database-player" ,
149
- * Database
150
- )
151
+ val DatabasePlayer = arrayOf(" database-player" ) + Database
152
+
153
+ /* *
154
+ * 玩家 Redis 数据库
155
+ */
156
+ val DatabasePlayerRedis = arrayOf(" database-player-redis" ) + DatabasePlayer + AlkaidRedis
151
157
152
158
/* *
153
159
* Persistent Container
154
160
*/
155
- val DatabasePtc = arrayOf(
156
- " database-ptc" ,
157
- * Database
158
- )
161
+ val Ptc = arrayOf(" database-ptc" ) + Database
159
162
160
163
/* *
161
164
* Persistent Container With Object
162
165
*/
163
- val DatabasePtcObject = arrayOf(
164
- " database-ptc-object" ,
165
- * Database
166
- )
166
+ val PtcObject = arrayOf(" database-ptc-object" ) + Database
167
167
168
168
/* *
169
169
* Minecraft 文本工具
You can’t perform that action at this time.
0 commit comments