We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc1d82e commit 2b60e3aCopy full SHA for 2b60e3a
maven-binding-builder/src/main/kotlin/io/github/typesafegithub/workflows/mavenbinding/JarBuilding.kt
@@ -40,9 +40,11 @@ internal fun buildJars(
40
val pathWithJarContents = compileBinding(sourceFilePaths = sourceFilePaths)
41
val mainJarByteArrayOutputStream = ByteArrayOutputStream()
42
mainJarByteArrayOutputStream.createZipFile(pathWithJarContents)
43
+ pathWithJarContents.toFile().deleteRecursively()
44
45
val sourcesJarByteArrayOutputStream = ByteArrayOutputStream()
46
sourcesJarByteArrayOutputStream.createZipFile(compilationInputDir)
47
+ compilationInputDir.toFile().deleteRecursively()
48
49
return Jars(
50
mainJar = mainJarByteArrayOutputStream.toByteArray(),
0 commit comments