feat: change custom build script to gradle
This commit is contained in:
parent
187ad55291
commit
e772f0b50d
1
.gitignore
vendored
1
.gitignore
vendored
@ -17,3 +17,4 @@
|
|||||||
!/build.js
|
!/build.js
|
||||||
!/LICENSE
|
!/LICENSE
|
||||||
!/README.md
|
!/README.md
|
||||||
|
!/?*.gradle
|
26
build.gradle
Normal file
26
build.gradle
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
|
||||||
|
|
||||||
|
java {
|
||||||
|
// toolchain {
|
||||||
|
// languageVersion = JavaLanguageVersion.of(11)
|
||||||
|
// }
|
||||||
|
}
|
||||||
|
|
||||||
|
plugins {
|
||||||
|
id 'application'
|
||||||
|
}
|
||||||
|
|
||||||
|
repositories {
|
||||||
|
mavenCentral()
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
sourceSets {
|
||||||
|
main.java.srcDirs = [ 'src/java' ]
|
||||||
|
main.resources.srcDirs = [ 'src/assets' ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
application {
|
||||||
|
mainClass = 'me.topchetoeu.jscript.utils.JScriptRepl'
|
||||||
|
}
|
1
settings.gradle
Normal file
1
settings.gradle
Normal file
@ -0,0 +1 @@
|
|||||||
|
rootProject.name = 'jscript'
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user