-
Notifications
You must be signed in to change notification settings - Fork 397
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
18 additions
and
19 deletions.
There are no files selected for viewing
18 changes: 18 additions & 0 deletions
18
api/src/main/kotlin/com/github/jengelman/gradle/plugins/shadow/internal/JavaJarExec.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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() | ||
} | ||
} |
19 changes: 0 additions & 19 deletions
19
src/main/groovy/com/github/jengelman/gradle/plugins/shadow/internal/JavaJarExec.groovy
This file was deleted.
Oops, something went wrong.