Skip to content

Commit

Permalink
Add application plugin to the wrapper project
Browse files Browse the repository at this point in the history
  • Loading branch information
surajkumar committed May 19, 2024
1 parent 2c1a752 commit 23a0900
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions JShellWrapper/build.gradle
Original file line number Diff line number Diff line change
@@ -1,10 +1,26 @@
import java.time.Instant

plugins {
id 'application'
id 'com.google.cloud.tools.jib' version '3.4.0'
id 'com.github.johnrengelman.shadow' version '8.1.1'
}

/* Application plugin is used for debugging */
application {
mainClassName = 'org.togetherjava.jshell.Main'
run {
standardInput = System.in
systemProperty 'line.separator', '\n'
systemProperty 'file.encoding', 'UTF-8'
}
}

test {
systemProperty 'line.separator', '\n'
systemProperty 'file.encoding', 'UTF-8'
}

jib {
from.image = 'eclipse-temurin:22-alpine'
to {
Expand Down

0 comments on commit 23a0900

Please sign in to comment.