Skip to content

Commit 35b20a1

Browse files
committed
1.修改打包脚本
1 parent d503348 commit 35b20a1

75 files changed

Lines changed: 218 additions & 117 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

assistTools/x-DecompilerWxApkgTool/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
dependencies {
2-
// implementation 'com.xwintop:xcore:0.0.6'
32
api project(':xcore')
43
}
54

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
dependencies {
2-
// implementation 'com.xwintop:xcore:0.0.6'
32
api project(':xcore')
43
implementation 'org.springframework:spring-jdbc:5.1.5.RELEASE'
54
implementation 'com.h2database:h2:1.4.200'
@@ -8,3 +7,9 @@ dependencies {
87
group = 'com.xwintop'
98
version = '0.0.1'
109
description = 'x-IdiomDataTool'
10+
//打jar包需要包含依赖的配置
11+
jar {
12+
from { configurations.compileClasspath.findAll { it.name.contains("spring-jdbc")
13+
|| it.name.contains("h2")
14+
}.collect { zipTree(it) } }
15+
}
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
dependencies {
2-
// implementation 'com.xwintop:xcore:0.0.6'
32
api project(':xcore')
43
implementation 'com.baidu.aip:java-sdk:4.16.17'
54
}
65

76
group = 'com.xwintop'
87
version = '0.0.1'
98
description = 'x-TextToSpeechTool'
9+
10+
//打jar包需要包含依赖的配置
11+
jar {
12+
from { configurations.compileClasspath.findAll { it.name.contains("java-sdk") }.collect { zipTree(it) } }
13+
}
Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
dependencies {
2-
// implementation 'com.xwintop:xcore:0.0.6'
32
api project(':xcore')
43
implementation 'com.googlecode.juniversalchardet:juniversalchardet:1.0.3'
54
}
65

76
group = 'com.xwintop'
87
version = '0.0.1'
98
description = 'x-CharsetDetectTool'
9+
10+
//打jar包需要包含依赖的配置
11+
jar {
12+
from { configurations.compileClasspath.findAll { it.name.contains("juniversalchardet") }.collect { zipTree(it) } }
13+
}

codeTools/x-ColorCodeConverterTool/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
dependencies {
2-
// implementation 'com.xwintop:xcore:0.0.6'
32
api project(':xcore')
43
}
54

codeTools/x-EscapeCharacter/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
dependencies {
2-
// implementation 'com.xwintop:xcore:0.0.6'
32
api project(':xcore')
43
// implementation 'org.apache.commons:commons-text:1.11.0'
54
}
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
dependencies {
2-
// implementation 'com.xwintop:xcore:0.0.6'
32
api project(':xcore')
43
implementation 'com.googlecode.juniversalchardet:juniversalchardet:1.0.3'
54
}
@@ -8,7 +7,7 @@ group = 'com.xwintop'
87
version = '0.0.1'
98
description = 'x-FileUnicodeTransformationTool'
109

11-
//打jar包需要的配置
10+
//打jar包需要包含依赖的配置
1211
jar {
1312
from { configurations.compileClasspath.findAll { it.name.contains("juniversalchardet") }.collect { zipTree(it) } }
1413
}

codeTools/x-IdCardGenerator/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
dependencies {
2-
// implementation 'com.xwintop:xcore:0.0.6'
32
api project(':xcore')
43
}
54

codeTools/x-RandomGeneratorTool/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
dependencies {
2-
// implementation 'com.xwintop:xcore:0.0.6'
32
api project(':xcore')
43
}
54

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
dependencies {
2-
// implementation 'com.xwintop:xcore:0.0.6'
32
api project(':xcore')
43
implementation 'org.fxmisc.richtext:richtextfx:0.11.2'
54
}
65

76
group = 'com.xwintop'
87
version = '0.0.1'
98
description = 'x-RegexTester'
9+
10+
//打jar包需要包含依赖的配置
11+
jar {
12+
from { configurations.compileClasspath.findAll { it.name.contains("richtextfx") }.collect { zipTree(it) } }
13+
}

0 commit comments

Comments
 (0)