File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2828 dependsOn configurations. compileClasspath
2929 from {
3030 sourceSets. main. output + configurations. compileClasspath
31- .findAll {it. name. endsWith(' jar' ) }
32- .collect { zipTree(it) }
31+ .findAll { it. isDirectory() || it . name. endsWith(' jar' ) }
32+ .collect { it . isDirectory() ? it : zipTree(it) }
3333 }
3434}
3535
Original file line number Diff line number Diff line change @@ -98,7 +98,15 @@ jar { dependsOn classes
9898
9999task monitoringJar (type : Jar ) { dependsOn classes
100100
101- archiveName ' monitoring.jar'
101+ archiveBaseName. set(' monitoring' )
102+ archiveClassifier. set(' ' )
103+ archiveVersion. set(' ' )
104+
105+ dependsOn configurations. runtimeClasspath
106+ from {
107+ sourceSets. main. output + configurations. runtimeClasspath
108+ .collect { it. isDirectory() ? it : zipTree(it) }
109+ }
102110
103111 manifest {
104112 attributes ' Main-Class' : ' org.utbot.monitoring.StatisticsMonitoringKt'
@@ -108,12 +116,5 @@ task monitoringJar(type: Jar) { dependsOn classes
108116 attributes ' JAR-Type' : ' Fat JAR'
109117 }
110118
111- version ' 1.0'
112-
113- dependsOn configurations. runtimeClasspath
114- from {
115- sourceSets. main. output + configurations. runtimeClasspath. collect { it. isDirectory() ? it : zipTree(it) }
116- }
117-
118119 duplicatesStrategy = DuplicatesStrategy . EXCLUDE
119120}
You can’t perform that action at this time.
0 commit comments