From b065ba4194803b811c5fb80d8cf3ff42c9b9b21b Mon Sep 17 00:00:00 2001 From: Miguel Ferreira Date: Sun, 24 Oct 2021 14:23:06 +0200 Subject: [PATCH 1/2] Configure exploded gradle taks --- build.gradle | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/build.gradle b/build.gradle index 73d1285..8015733 100644 --- a/build.gradle +++ b/build.gradle @@ -97,3 +97,26 @@ modularity.patchModule('org.eclipse.jgit', 'org.eclipse.jgit.ssh.jsch-5.11.0.202 modularity.patchModule('io.micronaut.runtime', "micronaut-context-${ext.micronautVersion}.jar") mainClassName = "$moduleName/devex.DevexCommand" + +distributions { + main { + contents { + from("${project.rootProject.projectDir}/LICENSE") { + into '' + } + } + } +} + +task exploded(type: Copy, dependsOn: ['distZip']) { + from zipTree(distZip.outputs.files.singleFile) + into "${project.buildDir}/exploded" + eachFile { FileCopyDetails fcd -> + fcd.relativePath = new RelativePath(true, fcd.relativePath.segments.drop(1)) + } + onlyIf { + distZip.outputs.files.singleFile.exists() + } +} + +assemble.dependsOn('exploded') From 2a5f588e2d54b18a47a6a4f3ab5180b7365e01d7 Mon Sep 17 00:00:00 2001 From: Miguel Ferreira Date: Sun, 24 Oct 2021 14:23:41 +0200 Subject: [PATCH 2/2] Bump minor version to 1.2.0 --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 524cb55..26aaba0 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.1.1 +1.2.0