Skip to content

Commit c683789

Browse files
committed
Modified Wrapper build.gradle to allow local exec
1 parent 1b08f7e commit c683789

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

JShellWrapper/build.gradle

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,16 @@
1-
import org.gradle.jvm.toolchain.JavaLanguageVersion
2-
31
plugins {
4-
id 'java'
2+
id 'application' // Debugging only
53
id 'com.google.cloud.tools.jib' version '3.3.2'
64
id 'com.github.johnrengelman.shadow' version '8.1.1'
75
}
86

97
group 'org.togetherjava'
108
version '1.0-SNAPSHOT'
119

12-
java {
13-
toolchain {
14-
languageVersion = JavaLanguageVersion.of(19)
15-
}
10+
mainClassName = 'Main' // Debugging only
11+
12+
run { // Debugging only
13+
standardInput = System.in
1614
}
1715

1816
var outputImage = 'togetherjava.org:5001/togetherjava/jshellwrapper:master' ?: 'latest'

0 commit comments

Comments
 (0)