@@ -50,7 +50,7 @@ task run(type: JavaExec) {
5050 classpath = sourceSets. main. runtimeClasspath
5151 standardInput = System . in
5252 workingDir = rootProject. projectDir
53- ignoreExitValue = true
53+ ignoreExitValue true
5454}
5555
5656jar {
@@ -75,28 +75,6 @@ task moduleDist(type: Sync) {
7575 }
7676}
7777
78- task dist (type : Sync ) {
79- description = " Creates an application package for distribution"
80- dependsOn jar
81-
82- into(" $distsDir /app" )
83-
84- from(" $rootDir /launcher" )
85-
86- into(' libs' ) {
87- from configurations. runtime
88- from jar
89- }
90- }
91-
92- dist. finalizedBy moduleDist
93-
94- task distZip (type : Zip ) {
95- dependsOn dist
96- from " $distsDir /app"
97- archiveName = " DestinationSol.zip"
98- }
99-
10078task copyLaunchers (type : Copy ) {
10179 description = " Copy launchers into the distribution folder."
10280
@@ -117,7 +95,8 @@ task libsDist(type: Copy) {
11795
11896task distUnbundledJRE () {
11997 description = " Creates an application package without any bundled JRE."
120-
98+ group ' Distribution'
99+
121100 dependsOn jar
122101 dependsOn copyLaunchers
123102}
@@ -126,6 +105,7 @@ distUnbundledJRE.finalizedBy moduleDist
126105
127106task distZipUnbundledJRE (type : Zip ) {
128107 description = " Creates an application package and zip archive without any bundled JRE."
108+ group ' Distribution'
129109
130110 dependsOn distUnbundledJRE
131111 from " $distsDir /app"
@@ -134,13 +114,15 @@ task distZipUnbundledJRE(type: Zip) {
134114
135115task distBundleJREs {
136116 description = " Creates an application package with a bundled JRE."
117+ group ' Distribution'
137118
138119 dependsOn distUnbundledJRE
139120 dependsOn downloadJreAll
140121}
141122
142123task distZipBundleJREs (type : Zip ) {
143124 description = " Creates an application package and zip archive with a bundled JRE."
125+ group ' Distribution'
144126
145127 dependsOn distBundleJREs
146128 from " $distsDir /app"
0 commit comments