feat: change custom build script to gradle

This commit is contained in:
TopchetoEU 2024-01-11 09:56:50 +02:00
parent 187ad55291
commit e772f0b50d
Signed by: topchetoeu
GPG Key ID: 6531B8583E5F6ED4
169 changed files with 31 additions and 3 deletions

1
.gitignore vendored
View File

@ -17,3 +17,4 @@
!/build.js !/build.js
!/LICENSE !/LICENSE
!/README.md !/README.md
!/?*.gradle

26
build.gradle Normal file
View 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
View File

@ -0,0 +1 @@
rootProject.name = 'jscript'

View File

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