@@ -53,12 +53,12 @@ dependencies {
5353 // lombok
5454 testCompileOnly " org.projectlombok:lombok:+"
5555 testAnnotationProcessor " org.projectlombok:lombok:+"
56- testRuntimeOnly ' org.junit.platform :junit-platform-launcher '
56+ testRuntimeOnly " org.junit.jupiter :junit-jupiter:5.12.0+ "
5757}
5858
5959test {
6060 dependencies {
61- testImplementation " org.junit.platform :junit-platform-launcher "
61+ testImplementation " org.junit.jupiter :junit-jupiter:5.12.0+ "
6262 }
6363 useJUnitPlatform()
6464}
@@ -83,7 +83,7 @@ tasks.withType(Jar).configureEach {
8383/* * 编译包 */
8484tasks. register(' PDConcurrent_bin' , Jar ) {
8585 archiveFileName = ' PDConcurrent_bin.jar'
86- archiveClassifier = ' '
86+ archiveClassifier = ' bin '
8787 // 打包编译输出
8888 from sourceSets. main. output
8989}
@@ -96,17 +96,6 @@ tasks.register('PDConcurrent_sources', Jar) {
9696 from sourceSets. main. allSource
9797}
9898
99- // tasks.register('PDConcurrent_all', Jar) {
100- // archiveFileName = 'PDConcurrent_all.jar'
101- // archiveClassifier = 'all'
102- // // 打包编译输出
103- // from sourceSets.main.output
104- // from {
105- // // implementation 相关的引入解压并打包入新的jar中
106- // configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) }
107- // }
108- // }
109-
11099tasks. register(' release' ) {
111100 dependsOn PDConcurrent_bin
112101 dependsOn PDConcurrent_sources
0 commit comments