Skip to content

Commit

Permalink
Convert JavaJarExec
Browse files Browse the repository at this point in the history
  • Loading branch information
Goooler committed Nov 5, 2024
1 parent 9119173 commit 5c441da
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 19 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
package com.github.jengelman.gradle.plugins.shadow.internal

import org.gradle.api.tasks.InputFile
import org.gradle.api.tasks.JavaExec
import org.gradle.api.tasks.TaskAction
import java.io.File

public abstract class JavaJarExec public constructor() : JavaExec() {
@InputFile
public lateinit var jarFile: File

@TaskAction
override fun exec() {
val allArgs = listOf(jarFile.path) + args
setArgs(allArgs)
super.exec()
}
}

This file was deleted.

0 comments on commit 5c441da

Please sign in to comment.