Skip to content

Commit

Permalink
2.0.16 测试版本
Browse files Browse the repository at this point in the history
  • Loading branch information
Bkm016 committed Sep 8, 2024
1 parent 9019076 commit 81dc9a2
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ plugins {
}

group = "io.izzel.taboolib"
version = "2.0.15"
version = "2.0.16"

configurations {
create("embed") {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ class TabooLibMainTask extends DefaultTask {
def modules = new HashSet<String>(tabooExt.env.modules)
// 平台实现
Platforms.values().each { p ->
if (p.module in modules) {
if (p.module in modules && p.hasImpl) {
modules += p.module + "-impl"
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,27 @@ enum Platforms {

SPONGE8('Sponge8', 'platform-sponge-api8', 'META-INF/plugins.json', new BuilderSponge8()),

AFYBROKER("AfyBroker","platform-afybroker","broker.yml",new BuilderAfyBroker());
AFYBROKER("AfyBroker", "platform-afybroker", "broker.yml", new BuilderAfyBroker(), false);

String key
String module
String file
Builder builder
boolean hasImpl

Platforms(key, module, file, builder) {
this.key = key
this.module = module
this.file = file
this.builder = builder
this.hasImpl = true
}

Platforms(String key, String module, String file, Builder builder, boolean hasImpl) {
this.key = key
this.module = module
this.file = file
this.builder = builder
this.hasImpl = hasImpl
}
}

0 comments on commit 81dc9a2

Please sign in to comment.