Skip to content

Commit 6326c97

Browse files
committed
Update settings.gradle.kts
1 parent bdaca28 commit 6326c97

1 file changed

Lines changed: 4 additions & 10 deletions

File tree

settings.gradle.kts

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,9 @@ pluginManagement {
1010

1111
rootProject.name = "morpher-api"
1212

13-
val isJitPack by extra {
14-
System.getenv("CI") != null || System.getenv("JITPACK_IO") != null || System.getenv("TRAVIS") != null
15-
}
16-
17-
println("Is JitPack build: $isJitPack") // 调试用,看是否判断正确
13+
include(
14+
"morpher-api",
15+
"morpher-example"
16+
)
1817

19-
include("morpher-api")
20-
21-
if(!isJitPack){
22-
include("morpher-example")
23-
}
2418

0 commit comments

Comments
 (0)