summaryrefslogtreecommitdiffstats
path: root/pkgs/by-name/pr/processing/skip-distributable.patch
blob: 73e591c55cbe80aa3160bb36516539a652d83a50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff --git a/app/build.gradle.kts b/app/build.gradle.kts
index 0d3fcbd..88a0b63 100644
--- a/app/build.gradle.kts
+++ b/app/build.gradle.kts
@@ -280,16 +280,7 @@ tasks.register<Exec>("packageSnap"){
     commandLine("snapcraft")
 }
 tasks.register<Zip>("zipDistributable"){
-    dependsOn("createDistributable", "setExecutablePermissions")
     group = "compose desktop"
-
-    val distributable = tasks.named<AbstractJPackageTask>("createDistributable").get()
-    val dir = distributable.destinationDir.get()
-    val packageName = distributable.packageName.get()
-
-    from(dir){ eachFile{ permissions{ unix("755") } } }
-    archiveBaseName.set(packageName)
-    destinationDirectory.set(dir.file("../").asFile)
 }
 
 afterEvaluate{