diff --git a/build.gradle b/build.gradle index 187c46b..88bad52 100644 --- a/build.gradle +++ b/build.gradle @@ -1,21 +1,75 @@ +import java.text.SimpleDateFormat + plugins { - id "application" + id 'application' + id 'net.nemerosa.versioning' version '2.15.0' + id 'org.ajoberstar.grgit' version '5.0.0-rc.3' // required by gradle + + // TODO: figure out how to integrate proguard + // id "com.github.xaverkapeller.proguard-annotations" +} + +base.archivesName = project.project_name +version = project.project_version +group = project.project_group +description = 'ES5-compliant JavaScript interpreter' + +repositories { + mavenCentral() +} + +dependencies { + annotationProcessor 'com.github.bsideup.jabel:jabel-javac-plugin:0.4.2' + compileOnly 'com.github.bsideup.jabel:jabel-javac-plugin:0.4.2' + testImplementation 'org.junit.jupiter:junit-jupiter:5.9.2' + testRuntimeOnly 'org.junit.platform:junit-platform-launcher' } java { - sourceCompatibility = JavaVersion.VERSION_11 - targetCompatibility = JavaVersion.VERSION_11 - toolchain.languageVersion = JavaLanguageVersion.of(11) - withSourcesJar() + sourceCompatibility = JavaVersion.VERSION_17 + targetCompatibility = JavaVersion.VERSION_17 + + toolchain { + languageVersion = JavaLanguageVersion.of(17) + } +} + +configure([tasks.compileJava]) { + options.release = 11 } jar { - manifest.attributes["Main-class"] = project.main_class + manifest { + attributes( + 'Main-Class': project.main_class, + 'Build-Timestamp': new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSZ").format(new Date()), + 'Build-Branch': versioning.info.branch, + 'Build-Revision': versioning.info.commit, + 'Build-Jdk': "${System.properties['java.version']} (${System.properties['java.vendor']} ${System.properties['java.vm.version']})", + 'Build-Author': 'TopchetoEU' + ) + } } -sourceSets { - main.java.srcDirs = [ "src/java" ] - main.resources.srcDirs = [ "src/assets" ] +application { + mainClass = project.main_class + applicationDefaultJvmArgs = ['-Xmx2G', '-Xms2G', '-server', '-Dfile.encoding=UTF-8'] +} + +distZip { + eachFile { file -> + if (file.path.contains('bin')) { + file.exclude() + } + } +} + +distTar { + eachFile { file -> + if (file.path.contains('bin')) { + file.exclude() + } + } } processResources { @@ -27,6 +81,10 @@ processResources { } } -base.archivesName = project.project_name -version = project.project_version -group = project.project_group \ No newline at end of file +test { + useJUnitPlatform() +} + +wrapper { + gradleVersion = '8.10' +} diff --git a/gradle.properties b/gradle.properties index a17b580..0181a94 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ project_group = me.topchetoeu project_name = jscript project_version = 0.9.41-beta -main_class = me.topchetoeu.jscript.utils.JScriptRepl +main_class = me.topchetoeu.jscript.runtime.SimpleRepl diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 1af9e09..9355b41 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME diff --git a/settings.gradle b/settings.gradle index fc7ee6c..2129498 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,5 +1,13 @@ +pluginManagement { + repositories { + mavenCentral() + gradlePluginPortal() + } +} + plugins { id 'org.gradle.toolchains.foojay-resolver-convention' version '0.7.0' } + rootProject.name = properties.project_name diff --git a/src/java/me/topchetoeu/jscript/common/Buffer.java b/src/main/java/me/topchetoeu/jscript/common/Buffer.java similarity index 100% rename from src/java/me/topchetoeu/jscript/common/Buffer.java rename to src/main/java/me/topchetoeu/jscript/common/Buffer.java diff --git a/src/java/me/topchetoeu/jscript/common/Filename.java b/src/main/java/me/topchetoeu/jscript/common/Filename.java similarity index 100% rename from src/java/me/topchetoeu/jscript/common/Filename.java rename to src/main/java/me/topchetoeu/jscript/common/Filename.java diff --git a/src/java/me/topchetoeu/jscript/common/FunctionBody.java b/src/main/java/me/topchetoeu/jscript/common/FunctionBody.java similarity index 100% rename from src/java/me/topchetoeu/jscript/common/FunctionBody.java rename to src/main/java/me/topchetoeu/jscript/common/FunctionBody.java diff --git a/src/java/me/topchetoeu/jscript/common/Instruction.java b/src/main/java/me/topchetoeu/jscript/common/Instruction.java similarity index 100% rename from src/java/me/topchetoeu/jscript/common/Instruction.java rename to src/main/java/me/topchetoeu/jscript/common/Instruction.java diff --git a/src/java/me/topchetoeu/jscript/common/Location.java b/src/main/java/me/topchetoeu/jscript/common/Location.java similarity index 100% rename from src/java/me/topchetoeu/jscript/common/Location.java rename to src/main/java/me/topchetoeu/jscript/common/Location.java diff --git a/src/java/me/topchetoeu/jscript/common/Metadata.java b/src/main/java/me/topchetoeu/jscript/common/Metadata.java similarity index 100% rename from src/java/me/topchetoeu/jscript/common/Metadata.java rename to src/main/java/me/topchetoeu/jscript/common/Metadata.java diff --git a/src/java/me/topchetoeu/jscript/common/Operation.java b/src/main/java/me/topchetoeu/jscript/common/Operation.java similarity index 100% rename from src/java/me/topchetoeu/jscript/common/Operation.java rename to src/main/java/me/topchetoeu/jscript/common/Operation.java diff --git a/src/java/me/topchetoeu/jscript/common/Reading.java b/src/main/java/me/topchetoeu/jscript/common/Reading.java similarity index 100% rename from src/java/me/topchetoeu/jscript/common/Reading.java rename to src/main/java/me/topchetoeu/jscript/common/Reading.java diff --git a/src/java/me/topchetoeu/jscript/common/RefTracker.java b/src/main/java/me/topchetoeu/jscript/common/RefTracker.java similarity index 100% rename from src/java/me/topchetoeu/jscript/common/RefTracker.java rename to src/main/java/me/topchetoeu/jscript/common/RefTracker.java diff --git a/src/java/me/topchetoeu/jscript/common/ResultRunnable.java b/src/main/java/me/topchetoeu/jscript/common/ResultRunnable.java similarity index 100% rename from src/java/me/topchetoeu/jscript/common/ResultRunnable.java rename to src/main/java/me/topchetoeu/jscript/common/ResultRunnable.java diff --git a/src/java/me/topchetoeu/jscript/common/events/DataNotifier.java b/src/main/java/me/topchetoeu/jscript/common/events/DataNotifier.java similarity index 100% rename from src/java/me/topchetoeu/jscript/common/events/DataNotifier.java rename to src/main/java/me/topchetoeu/jscript/common/events/DataNotifier.java diff --git a/src/java/me/topchetoeu/jscript/common/events/Notifier.java b/src/main/java/me/topchetoeu/jscript/common/events/Notifier.java similarity index 100% rename from src/java/me/topchetoeu/jscript/common/events/Notifier.java rename to src/main/java/me/topchetoeu/jscript/common/events/Notifier.java diff --git a/src/java/me/topchetoeu/jscript/common/json/JSON.java b/src/main/java/me/topchetoeu/jscript/common/json/JSON.java similarity index 100% rename from src/java/me/topchetoeu/jscript/common/json/JSON.java rename to src/main/java/me/topchetoeu/jscript/common/json/JSON.java diff --git a/src/java/me/topchetoeu/jscript/common/json/JSONElement.java b/src/main/java/me/topchetoeu/jscript/common/json/JSONElement.java similarity index 100% rename from src/java/me/topchetoeu/jscript/common/json/JSONElement.java rename to src/main/java/me/topchetoeu/jscript/common/json/JSONElement.java diff --git a/src/java/me/topchetoeu/jscript/common/json/JSONList.java b/src/main/java/me/topchetoeu/jscript/common/json/JSONList.java similarity index 100% rename from src/java/me/topchetoeu/jscript/common/json/JSONList.java rename to src/main/java/me/topchetoeu/jscript/common/json/JSONList.java diff --git a/src/java/me/topchetoeu/jscript/common/json/JSONMap.java b/src/main/java/me/topchetoeu/jscript/common/json/JSONMap.java similarity index 100% rename from src/java/me/topchetoeu/jscript/common/json/JSONMap.java rename to src/main/java/me/topchetoeu/jscript/common/json/JSONMap.java diff --git a/src/java/me/topchetoeu/jscript/common/mapping/ConvertType.java b/src/main/java/me/topchetoeu/jscript/common/mapping/ConvertType.java similarity index 100% rename from src/java/me/topchetoeu/jscript/common/mapping/ConvertType.java rename to src/main/java/me/topchetoeu/jscript/common/mapping/ConvertType.java diff --git a/src/java/me/topchetoeu/jscript/common/mapping/FunctionMap.java b/src/main/java/me/topchetoeu/jscript/common/mapping/FunctionMap.java similarity index 100% rename from src/java/me/topchetoeu/jscript/common/mapping/FunctionMap.java rename to src/main/java/me/topchetoeu/jscript/common/mapping/FunctionMap.java diff --git a/src/java/me/topchetoeu/jscript/compilation/AssignableStatement.java b/src/main/java/me/topchetoeu/jscript/compilation/AssignableStatement.java similarity index 100% rename from src/java/me/topchetoeu/jscript/compilation/AssignableStatement.java rename to src/main/java/me/topchetoeu/jscript/compilation/AssignableStatement.java diff --git a/src/java/me/topchetoeu/jscript/compilation/CompileResult.java b/src/main/java/me/topchetoeu/jscript/compilation/CompileResult.java similarity index 100% rename from src/java/me/topchetoeu/jscript/compilation/CompileResult.java rename to src/main/java/me/topchetoeu/jscript/compilation/CompileResult.java diff --git a/src/java/me/topchetoeu/jscript/compilation/CompoundStatement.java b/src/main/java/me/topchetoeu/jscript/compilation/CompoundStatement.java similarity index 100% rename from src/java/me/topchetoeu/jscript/compilation/CompoundStatement.java rename to src/main/java/me/topchetoeu/jscript/compilation/CompoundStatement.java diff --git a/src/java/me/topchetoeu/jscript/compilation/Statement.java b/src/main/java/me/topchetoeu/jscript/compilation/Statement.java similarity index 100% rename from src/java/me/topchetoeu/jscript/compilation/Statement.java rename to src/main/java/me/topchetoeu/jscript/compilation/Statement.java diff --git a/src/java/me/topchetoeu/jscript/compilation/ThrowSyntaxStatement.java b/src/main/java/me/topchetoeu/jscript/compilation/ThrowSyntaxStatement.java similarity index 100% rename from src/java/me/topchetoeu/jscript/compilation/ThrowSyntaxStatement.java rename to src/main/java/me/topchetoeu/jscript/compilation/ThrowSyntaxStatement.java diff --git a/src/java/me/topchetoeu/jscript/compilation/VariableDeclareStatement.java b/src/main/java/me/topchetoeu/jscript/compilation/VariableDeclareStatement.java similarity index 100% rename from src/java/me/topchetoeu/jscript/compilation/VariableDeclareStatement.java rename to src/main/java/me/topchetoeu/jscript/compilation/VariableDeclareStatement.java diff --git a/src/java/me/topchetoeu/jscript/compilation/control/BreakStatement.java b/src/main/java/me/topchetoeu/jscript/compilation/control/BreakStatement.java similarity index 100% rename from src/java/me/topchetoeu/jscript/compilation/control/BreakStatement.java rename to src/main/java/me/topchetoeu/jscript/compilation/control/BreakStatement.java diff --git a/src/java/me/topchetoeu/jscript/compilation/control/ContinueStatement.java b/src/main/java/me/topchetoeu/jscript/compilation/control/ContinueStatement.java similarity index 100% rename from src/java/me/topchetoeu/jscript/compilation/control/ContinueStatement.java rename to src/main/java/me/topchetoeu/jscript/compilation/control/ContinueStatement.java diff --git a/src/java/me/topchetoeu/jscript/compilation/control/DebugStatement.java b/src/main/java/me/topchetoeu/jscript/compilation/control/DebugStatement.java similarity index 100% rename from src/java/me/topchetoeu/jscript/compilation/control/DebugStatement.java rename to src/main/java/me/topchetoeu/jscript/compilation/control/DebugStatement.java diff --git a/src/java/me/topchetoeu/jscript/compilation/control/DeleteStatement.java b/src/main/java/me/topchetoeu/jscript/compilation/control/DeleteStatement.java similarity index 100% rename from src/java/me/topchetoeu/jscript/compilation/control/DeleteStatement.java rename to src/main/java/me/topchetoeu/jscript/compilation/control/DeleteStatement.java diff --git a/src/java/me/topchetoeu/jscript/compilation/control/DoWhileStatement.java b/src/main/java/me/topchetoeu/jscript/compilation/control/DoWhileStatement.java similarity index 100% rename from src/java/me/topchetoeu/jscript/compilation/control/DoWhileStatement.java rename to src/main/java/me/topchetoeu/jscript/compilation/control/DoWhileStatement.java diff --git a/src/java/me/topchetoeu/jscript/compilation/control/ForInStatement.java b/src/main/java/me/topchetoeu/jscript/compilation/control/ForInStatement.java similarity index 100% rename from src/java/me/topchetoeu/jscript/compilation/control/ForInStatement.java rename to src/main/java/me/topchetoeu/jscript/compilation/control/ForInStatement.java diff --git a/src/java/me/topchetoeu/jscript/compilation/control/ForOfStatement.java b/src/main/java/me/topchetoeu/jscript/compilation/control/ForOfStatement.java similarity index 100% rename from src/java/me/topchetoeu/jscript/compilation/control/ForOfStatement.java rename to src/main/java/me/topchetoeu/jscript/compilation/control/ForOfStatement.java diff --git a/src/java/me/topchetoeu/jscript/compilation/control/ForStatement.java b/src/main/java/me/topchetoeu/jscript/compilation/control/ForStatement.java similarity index 100% rename from src/java/me/topchetoeu/jscript/compilation/control/ForStatement.java rename to src/main/java/me/topchetoeu/jscript/compilation/control/ForStatement.java diff --git a/src/java/me/topchetoeu/jscript/compilation/control/IfStatement.java b/src/main/java/me/topchetoeu/jscript/compilation/control/IfStatement.java similarity index 100% rename from src/java/me/topchetoeu/jscript/compilation/control/IfStatement.java rename to src/main/java/me/topchetoeu/jscript/compilation/control/IfStatement.java diff --git a/src/java/me/topchetoeu/jscript/compilation/control/ReturnStatement.java b/src/main/java/me/topchetoeu/jscript/compilation/control/ReturnStatement.java similarity index 100% rename from src/java/me/topchetoeu/jscript/compilation/control/ReturnStatement.java rename to src/main/java/me/topchetoeu/jscript/compilation/control/ReturnStatement.java diff --git a/src/java/me/topchetoeu/jscript/compilation/control/SwitchStatement.java b/src/main/java/me/topchetoeu/jscript/compilation/control/SwitchStatement.java similarity index 100% rename from src/java/me/topchetoeu/jscript/compilation/control/SwitchStatement.java rename to src/main/java/me/topchetoeu/jscript/compilation/control/SwitchStatement.java diff --git a/src/java/me/topchetoeu/jscript/compilation/control/ThrowStatement.java b/src/main/java/me/topchetoeu/jscript/compilation/control/ThrowStatement.java similarity index 100% rename from src/java/me/topchetoeu/jscript/compilation/control/ThrowStatement.java rename to src/main/java/me/topchetoeu/jscript/compilation/control/ThrowStatement.java diff --git a/src/java/me/topchetoeu/jscript/compilation/control/TryStatement.java b/src/main/java/me/topchetoeu/jscript/compilation/control/TryStatement.java similarity index 100% rename from src/java/me/topchetoeu/jscript/compilation/control/TryStatement.java rename to src/main/java/me/topchetoeu/jscript/compilation/control/TryStatement.java diff --git a/src/java/me/topchetoeu/jscript/compilation/control/WhileStatement.java b/src/main/java/me/topchetoeu/jscript/compilation/control/WhileStatement.java similarity index 100% rename from src/java/me/topchetoeu/jscript/compilation/control/WhileStatement.java rename to src/main/java/me/topchetoeu/jscript/compilation/control/WhileStatement.java diff --git a/src/java/me/topchetoeu/jscript/compilation/parsing/Operator.java b/src/main/java/me/topchetoeu/jscript/compilation/parsing/Operator.java similarity index 100% rename from src/java/me/topchetoeu/jscript/compilation/parsing/Operator.java rename to src/main/java/me/topchetoeu/jscript/compilation/parsing/Operator.java diff --git a/src/java/me/topchetoeu/jscript/compilation/parsing/ParseRes.java b/src/main/java/me/topchetoeu/jscript/compilation/parsing/ParseRes.java similarity index 100% rename from src/java/me/topchetoeu/jscript/compilation/parsing/ParseRes.java rename to src/main/java/me/topchetoeu/jscript/compilation/parsing/ParseRes.java diff --git a/src/java/me/topchetoeu/jscript/compilation/parsing/Parsing.java b/src/main/java/me/topchetoeu/jscript/compilation/parsing/Parsing.java similarity index 100% rename from src/java/me/topchetoeu/jscript/compilation/parsing/Parsing.java rename to src/main/java/me/topchetoeu/jscript/compilation/parsing/Parsing.java diff --git a/src/java/me/topchetoeu/jscript/compilation/parsing/RawToken.java b/src/main/java/me/topchetoeu/jscript/compilation/parsing/RawToken.java similarity index 100% rename from src/java/me/topchetoeu/jscript/compilation/parsing/RawToken.java rename to src/main/java/me/topchetoeu/jscript/compilation/parsing/RawToken.java diff --git a/src/java/me/topchetoeu/jscript/compilation/parsing/TestRes.java b/src/main/java/me/topchetoeu/jscript/compilation/parsing/TestRes.java similarity index 100% rename from src/java/me/topchetoeu/jscript/compilation/parsing/TestRes.java rename to src/main/java/me/topchetoeu/jscript/compilation/parsing/TestRes.java diff --git a/src/java/me/topchetoeu/jscript/compilation/parsing/Token.java b/src/main/java/me/topchetoeu/jscript/compilation/parsing/Token.java similarity index 100% rename from src/java/me/topchetoeu/jscript/compilation/parsing/Token.java rename to src/main/java/me/topchetoeu/jscript/compilation/parsing/Token.java diff --git a/src/java/me/topchetoeu/jscript/compilation/parsing/TokenType.java b/src/main/java/me/topchetoeu/jscript/compilation/parsing/TokenType.java similarity index 100% rename from src/java/me/topchetoeu/jscript/compilation/parsing/TokenType.java rename to src/main/java/me/topchetoeu/jscript/compilation/parsing/TokenType.java diff --git a/src/java/me/topchetoeu/jscript/compilation/scope/LocalScopeRecord.java b/src/main/java/me/topchetoeu/jscript/compilation/scope/LocalScopeRecord.java similarity index 100% rename from src/java/me/topchetoeu/jscript/compilation/scope/LocalScopeRecord.java rename to src/main/java/me/topchetoeu/jscript/compilation/scope/LocalScopeRecord.java diff --git a/src/java/me/topchetoeu/jscript/compilation/scope/ScopeRecord.java b/src/main/java/me/topchetoeu/jscript/compilation/scope/ScopeRecord.java similarity index 100% rename from src/java/me/topchetoeu/jscript/compilation/scope/ScopeRecord.java rename to src/main/java/me/topchetoeu/jscript/compilation/scope/ScopeRecord.java diff --git a/src/java/me/topchetoeu/jscript/compilation/values/ArrayStatement.java b/src/main/java/me/topchetoeu/jscript/compilation/values/ArrayStatement.java similarity index 100% rename from src/java/me/topchetoeu/jscript/compilation/values/ArrayStatement.java rename to src/main/java/me/topchetoeu/jscript/compilation/values/ArrayStatement.java diff --git a/src/java/me/topchetoeu/jscript/compilation/values/CallStatement.java b/src/main/java/me/topchetoeu/jscript/compilation/values/CallStatement.java similarity index 100% rename from src/java/me/topchetoeu/jscript/compilation/values/CallStatement.java rename to src/main/java/me/topchetoeu/jscript/compilation/values/CallStatement.java diff --git a/src/java/me/topchetoeu/jscript/compilation/values/ChangeStatement.java b/src/main/java/me/topchetoeu/jscript/compilation/values/ChangeStatement.java similarity index 100% rename from src/java/me/topchetoeu/jscript/compilation/values/ChangeStatement.java rename to src/main/java/me/topchetoeu/jscript/compilation/values/ChangeStatement.java diff --git a/src/java/me/topchetoeu/jscript/compilation/values/ConstantStatement.java b/src/main/java/me/topchetoeu/jscript/compilation/values/ConstantStatement.java similarity index 100% rename from src/java/me/topchetoeu/jscript/compilation/values/ConstantStatement.java rename to src/main/java/me/topchetoeu/jscript/compilation/values/ConstantStatement.java diff --git a/src/java/me/topchetoeu/jscript/compilation/values/DiscardStatement.java b/src/main/java/me/topchetoeu/jscript/compilation/values/DiscardStatement.java similarity index 100% rename from src/java/me/topchetoeu/jscript/compilation/values/DiscardStatement.java rename to src/main/java/me/topchetoeu/jscript/compilation/values/DiscardStatement.java diff --git a/src/java/me/topchetoeu/jscript/compilation/values/FunctionStatement.java b/src/main/java/me/topchetoeu/jscript/compilation/values/FunctionStatement.java similarity index 100% rename from src/java/me/topchetoeu/jscript/compilation/values/FunctionStatement.java rename to src/main/java/me/topchetoeu/jscript/compilation/values/FunctionStatement.java diff --git a/src/java/me/topchetoeu/jscript/compilation/values/GlobalThisStatement.java b/src/main/java/me/topchetoeu/jscript/compilation/values/GlobalThisStatement.java similarity index 100% rename from src/java/me/topchetoeu/jscript/compilation/values/GlobalThisStatement.java rename to src/main/java/me/topchetoeu/jscript/compilation/values/GlobalThisStatement.java diff --git a/src/java/me/topchetoeu/jscript/compilation/values/IndexAssignStatement.java b/src/main/java/me/topchetoeu/jscript/compilation/values/IndexAssignStatement.java similarity index 100% rename from src/java/me/topchetoeu/jscript/compilation/values/IndexAssignStatement.java rename to src/main/java/me/topchetoeu/jscript/compilation/values/IndexAssignStatement.java diff --git a/src/java/me/topchetoeu/jscript/compilation/values/IndexStatement.java b/src/main/java/me/topchetoeu/jscript/compilation/values/IndexStatement.java similarity index 100% rename from src/java/me/topchetoeu/jscript/compilation/values/IndexStatement.java rename to src/main/java/me/topchetoeu/jscript/compilation/values/IndexStatement.java diff --git a/src/java/me/topchetoeu/jscript/compilation/values/LazyAndStatement.java b/src/main/java/me/topchetoeu/jscript/compilation/values/LazyAndStatement.java similarity index 100% rename from src/java/me/topchetoeu/jscript/compilation/values/LazyAndStatement.java rename to src/main/java/me/topchetoeu/jscript/compilation/values/LazyAndStatement.java diff --git a/src/java/me/topchetoeu/jscript/compilation/values/LazyOrStatement.java b/src/main/java/me/topchetoeu/jscript/compilation/values/LazyOrStatement.java similarity index 100% rename from src/java/me/topchetoeu/jscript/compilation/values/LazyOrStatement.java rename to src/main/java/me/topchetoeu/jscript/compilation/values/LazyOrStatement.java diff --git a/src/java/me/topchetoeu/jscript/compilation/values/ObjectStatement.java b/src/main/java/me/topchetoeu/jscript/compilation/values/ObjectStatement.java similarity index 100% rename from src/java/me/topchetoeu/jscript/compilation/values/ObjectStatement.java rename to src/main/java/me/topchetoeu/jscript/compilation/values/ObjectStatement.java diff --git a/src/java/me/topchetoeu/jscript/compilation/values/OperationStatement.java b/src/main/java/me/topchetoeu/jscript/compilation/values/OperationStatement.java similarity index 100% rename from src/java/me/topchetoeu/jscript/compilation/values/OperationStatement.java rename to src/main/java/me/topchetoeu/jscript/compilation/values/OperationStatement.java diff --git a/src/java/me/topchetoeu/jscript/compilation/values/RegexStatement.java b/src/main/java/me/topchetoeu/jscript/compilation/values/RegexStatement.java similarity index 100% rename from src/java/me/topchetoeu/jscript/compilation/values/RegexStatement.java rename to src/main/java/me/topchetoeu/jscript/compilation/values/RegexStatement.java diff --git a/src/java/me/topchetoeu/jscript/compilation/values/TypeofStatement.java b/src/main/java/me/topchetoeu/jscript/compilation/values/TypeofStatement.java similarity index 100% rename from src/java/me/topchetoeu/jscript/compilation/values/TypeofStatement.java rename to src/main/java/me/topchetoeu/jscript/compilation/values/TypeofStatement.java diff --git a/src/java/me/topchetoeu/jscript/compilation/values/VariableAssignStatement.java b/src/main/java/me/topchetoeu/jscript/compilation/values/VariableAssignStatement.java similarity index 100% rename from src/java/me/topchetoeu/jscript/compilation/values/VariableAssignStatement.java rename to src/main/java/me/topchetoeu/jscript/compilation/values/VariableAssignStatement.java diff --git a/src/java/me/topchetoeu/jscript/compilation/values/VariableIndexStatement.java b/src/main/java/me/topchetoeu/jscript/compilation/values/VariableIndexStatement.java similarity index 100% rename from src/java/me/topchetoeu/jscript/compilation/values/VariableIndexStatement.java rename to src/main/java/me/topchetoeu/jscript/compilation/values/VariableIndexStatement.java diff --git a/src/java/me/topchetoeu/jscript/compilation/values/VariableStatement.java b/src/main/java/me/topchetoeu/jscript/compilation/values/VariableStatement.java similarity index 100% rename from src/java/me/topchetoeu/jscript/compilation/values/VariableStatement.java rename to src/main/java/me/topchetoeu/jscript/compilation/values/VariableStatement.java diff --git a/src/java/me/topchetoeu/jscript/lib/ArrayLib.java b/src/main/java/me/topchetoeu/jscript/lib/ArrayLib.java similarity index 100% rename from src/java/me/topchetoeu/jscript/lib/ArrayLib.java rename to src/main/java/me/topchetoeu/jscript/lib/ArrayLib.java diff --git a/src/java/me/topchetoeu/jscript/lib/AsyncFunctionLib.java b/src/main/java/me/topchetoeu/jscript/lib/AsyncFunctionLib.java similarity index 100% rename from src/java/me/topchetoeu/jscript/lib/AsyncFunctionLib.java rename to src/main/java/me/topchetoeu/jscript/lib/AsyncFunctionLib.java diff --git a/src/java/me/topchetoeu/jscript/lib/AsyncGeneratorFunctionLib.java b/src/main/java/me/topchetoeu/jscript/lib/AsyncGeneratorFunctionLib.java similarity index 100% rename from src/java/me/topchetoeu/jscript/lib/AsyncGeneratorFunctionLib.java rename to src/main/java/me/topchetoeu/jscript/lib/AsyncGeneratorFunctionLib.java diff --git a/src/java/me/topchetoeu/jscript/lib/AsyncGeneratorLib.java b/src/main/java/me/topchetoeu/jscript/lib/AsyncGeneratorLib.java similarity index 100% rename from src/java/me/topchetoeu/jscript/lib/AsyncGeneratorLib.java rename to src/main/java/me/topchetoeu/jscript/lib/AsyncGeneratorLib.java diff --git a/src/java/me/topchetoeu/jscript/lib/BooleanLib.java b/src/main/java/me/topchetoeu/jscript/lib/BooleanLib.java similarity index 100% rename from src/java/me/topchetoeu/jscript/lib/BooleanLib.java rename to src/main/java/me/topchetoeu/jscript/lib/BooleanLib.java diff --git a/src/java/me/topchetoeu/jscript/lib/ConsoleLib.java b/src/main/java/me/topchetoeu/jscript/lib/ConsoleLib.java similarity index 100% rename from src/java/me/topchetoeu/jscript/lib/ConsoleLib.java rename to src/main/java/me/topchetoeu/jscript/lib/ConsoleLib.java diff --git a/src/java/me/topchetoeu/jscript/lib/DateLib.java b/src/main/java/me/topchetoeu/jscript/lib/DateLib.java similarity index 100% rename from src/java/me/topchetoeu/jscript/lib/DateLib.java rename to src/main/java/me/topchetoeu/jscript/lib/DateLib.java diff --git a/src/java/me/topchetoeu/jscript/lib/EncodingLib.java b/src/main/java/me/topchetoeu/jscript/lib/EncodingLib.java similarity index 100% rename from src/java/me/topchetoeu/jscript/lib/EncodingLib.java rename to src/main/java/me/topchetoeu/jscript/lib/EncodingLib.java diff --git a/src/java/me/topchetoeu/jscript/lib/ErrorLib.java b/src/main/java/me/topchetoeu/jscript/lib/ErrorLib.java similarity index 100% rename from src/java/me/topchetoeu/jscript/lib/ErrorLib.java rename to src/main/java/me/topchetoeu/jscript/lib/ErrorLib.java diff --git a/src/java/me/topchetoeu/jscript/lib/FileLib.java b/src/main/java/me/topchetoeu/jscript/lib/FileLib.java similarity index 100% rename from src/java/me/topchetoeu/jscript/lib/FileLib.java rename to src/main/java/me/topchetoeu/jscript/lib/FileLib.java diff --git a/src/java/me/topchetoeu/jscript/lib/FilesystemLib.java b/src/main/java/me/topchetoeu/jscript/lib/FilesystemLib.java similarity index 100% rename from src/java/me/topchetoeu/jscript/lib/FilesystemLib.java rename to src/main/java/me/topchetoeu/jscript/lib/FilesystemLib.java diff --git a/src/java/me/topchetoeu/jscript/lib/FunctionLib.java b/src/main/java/me/topchetoeu/jscript/lib/FunctionLib.java similarity index 100% rename from src/java/me/topchetoeu/jscript/lib/FunctionLib.java rename to src/main/java/me/topchetoeu/jscript/lib/FunctionLib.java diff --git a/src/java/me/topchetoeu/jscript/lib/GeneratorFunctionLib.java b/src/main/java/me/topchetoeu/jscript/lib/GeneratorFunctionLib.java similarity index 100% rename from src/java/me/topchetoeu/jscript/lib/GeneratorFunctionLib.java rename to src/main/java/me/topchetoeu/jscript/lib/GeneratorFunctionLib.java diff --git a/src/java/me/topchetoeu/jscript/lib/GeneratorLib.java b/src/main/java/me/topchetoeu/jscript/lib/GeneratorLib.java similarity index 100% rename from src/java/me/topchetoeu/jscript/lib/GeneratorLib.java rename to src/main/java/me/topchetoeu/jscript/lib/GeneratorLib.java diff --git a/src/java/me/topchetoeu/jscript/lib/Internals.java b/src/main/java/me/topchetoeu/jscript/lib/Internals.java similarity index 100% rename from src/java/me/topchetoeu/jscript/lib/Internals.java rename to src/main/java/me/topchetoeu/jscript/lib/Internals.java diff --git a/src/java/me/topchetoeu/jscript/lib/JSONLib.java b/src/main/java/me/topchetoeu/jscript/lib/JSONLib.java similarity index 100% rename from src/java/me/topchetoeu/jscript/lib/JSONLib.java rename to src/main/java/me/topchetoeu/jscript/lib/JSONLib.java diff --git a/src/java/me/topchetoeu/jscript/lib/MapLib.java b/src/main/java/me/topchetoeu/jscript/lib/MapLib.java similarity index 100% rename from src/java/me/topchetoeu/jscript/lib/MapLib.java rename to src/main/java/me/topchetoeu/jscript/lib/MapLib.java diff --git a/src/java/me/topchetoeu/jscript/lib/MathLib.java b/src/main/java/me/topchetoeu/jscript/lib/MathLib.java similarity index 100% rename from src/java/me/topchetoeu/jscript/lib/MathLib.java rename to src/main/java/me/topchetoeu/jscript/lib/MathLib.java diff --git a/src/java/me/topchetoeu/jscript/lib/NumberLib.java b/src/main/java/me/topchetoeu/jscript/lib/NumberLib.java similarity index 100% rename from src/java/me/topchetoeu/jscript/lib/NumberLib.java rename to src/main/java/me/topchetoeu/jscript/lib/NumberLib.java diff --git a/src/java/me/topchetoeu/jscript/lib/ObjectLib.java b/src/main/java/me/topchetoeu/jscript/lib/ObjectLib.java similarity index 100% rename from src/java/me/topchetoeu/jscript/lib/ObjectLib.java rename to src/main/java/me/topchetoeu/jscript/lib/ObjectLib.java diff --git a/src/java/me/topchetoeu/jscript/lib/PromiseLib.java b/src/main/java/me/topchetoeu/jscript/lib/PromiseLib.java similarity index 100% rename from src/java/me/topchetoeu/jscript/lib/PromiseLib.java rename to src/main/java/me/topchetoeu/jscript/lib/PromiseLib.java diff --git a/src/java/me/topchetoeu/jscript/lib/RangeErrorLib.java b/src/main/java/me/topchetoeu/jscript/lib/RangeErrorLib.java similarity index 100% rename from src/java/me/topchetoeu/jscript/lib/RangeErrorLib.java rename to src/main/java/me/topchetoeu/jscript/lib/RangeErrorLib.java diff --git a/src/java/me/topchetoeu/jscript/lib/RegExpLib.java b/src/main/java/me/topchetoeu/jscript/lib/RegExpLib.java similarity index 100% rename from src/java/me/topchetoeu/jscript/lib/RegExpLib.java rename to src/main/java/me/topchetoeu/jscript/lib/RegExpLib.java diff --git a/src/java/me/topchetoeu/jscript/lib/SetLib.java b/src/main/java/me/topchetoeu/jscript/lib/SetLib.java similarity index 100% rename from src/java/me/topchetoeu/jscript/lib/SetLib.java rename to src/main/java/me/topchetoeu/jscript/lib/SetLib.java diff --git a/src/java/me/topchetoeu/jscript/lib/StringLib.java b/src/main/java/me/topchetoeu/jscript/lib/StringLib.java similarity index 100% rename from src/java/me/topchetoeu/jscript/lib/StringLib.java rename to src/main/java/me/topchetoeu/jscript/lib/StringLib.java diff --git a/src/java/me/topchetoeu/jscript/lib/SymbolLib.java b/src/main/java/me/topchetoeu/jscript/lib/SymbolLib.java similarity index 100% rename from src/java/me/topchetoeu/jscript/lib/SymbolLib.java rename to src/main/java/me/topchetoeu/jscript/lib/SymbolLib.java diff --git a/src/java/me/topchetoeu/jscript/lib/SyntaxErrorLib.java b/src/main/java/me/topchetoeu/jscript/lib/SyntaxErrorLib.java similarity index 100% rename from src/java/me/topchetoeu/jscript/lib/SyntaxErrorLib.java rename to src/main/java/me/topchetoeu/jscript/lib/SyntaxErrorLib.java diff --git a/src/java/me/topchetoeu/jscript/lib/ThrowableLib.java b/src/main/java/me/topchetoeu/jscript/lib/ThrowableLib.java similarity index 100% rename from src/java/me/topchetoeu/jscript/lib/ThrowableLib.java rename to src/main/java/me/topchetoeu/jscript/lib/ThrowableLib.java diff --git a/src/java/me/topchetoeu/jscript/lib/TypeErrorLib.java b/src/main/java/me/topchetoeu/jscript/lib/TypeErrorLib.java similarity index 100% rename from src/java/me/topchetoeu/jscript/lib/TypeErrorLib.java rename to src/main/java/me/topchetoeu/jscript/lib/TypeErrorLib.java diff --git a/src/java/me/topchetoeu/jscript/runtime/Childable.java b/src/main/java/me/topchetoeu/jscript/runtime/Childable.java similarity index 100% rename from src/java/me/topchetoeu/jscript/runtime/Childable.java rename to src/main/java/me/topchetoeu/jscript/runtime/Childable.java diff --git a/src/java/me/topchetoeu/jscript/runtime/Compiler.java b/src/main/java/me/topchetoeu/jscript/runtime/Compiler.java similarity index 100% rename from src/java/me/topchetoeu/jscript/runtime/Compiler.java rename to src/main/java/me/topchetoeu/jscript/runtime/Compiler.java diff --git a/src/java/me/topchetoeu/jscript/runtime/Context.java b/src/main/java/me/topchetoeu/jscript/runtime/Context.java similarity index 100% rename from src/java/me/topchetoeu/jscript/runtime/Context.java rename to src/main/java/me/topchetoeu/jscript/runtime/Context.java diff --git a/src/java/me/topchetoeu/jscript/runtime/Copyable.java b/src/main/java/me/topchetoeu/jscript/runtime/Copyable.java similarity index 100% rename from src/java/me/topchetoeu/jscript/runtime/Copyable.java rename to src/main/java/me/topchetoeu/jscript/runtime/Copyable.java diff --git a/src/java/me/topchetoeu/jscript/runtime/Engine.java b/src/main/java/me/topchetoeu/jscript/runtime/Engine.java similarity index 100% rename from src/java/me/topchetoeu/jscript/runtime/Engine.java rename to src/main/java/me/topchetoeu/jscript/runtime/Engine.java diff --git a/src/java/me/topchetoeu/jscript/runtime/Environment.java b/src/main/java/me/topchetoeu/jscript/runtime/Environment.java similarity index 100% rename from src/java/me/topchetoeu/jscript/runtime/Environment.java rename to src/main/java/me/topchetoeu/jscript/runtime/Environment.java diff --git a/src/java/me/topchetoeu/jscript/runtime/EventLoop.java b/src/main/java/me/topchetoeu/jscript/runtime/EventLoop.java similarity index 100% rename from src/java/me/topchetoeu/jscript/runtime/EventLoop.java rename to src/main/java/me/topchetoeu/jscript/runtime/EventLoop.java diff --git a/src/java/me/topchetoeu/jscript/runtime/Extensions.java b/src/main/java/me/topchetoeu/jscript/runtime/Extensions.java similarity index 100% rename from src/java/me/topchetoeu/jscript/runtime/Extensions.java rename to src/main/java/me/topchetoeu/jscript/runtime/Extensions.java diff --git a/src/java/me/topchetoeu/jscript/runtime/Frame.java b/src/main/java/me/topchetoeu/jscript/runtime/Frame.java similarity index 100% rename from src/java/me/topchetoeu/jscript/runtime/Frame.java rename to src/main/java/me/topchetoeu/jscript/runtime/Frame.java diff --git a/src/java/me/topchetoeu/jscript/runtime/InstructionRunner.java b/src/main/java/me/topchetoeu/jscript/runtime/InstructionRunner.java similarity index 100% rename from src/java/me/topchetoeu/jscript/runtime/InstructionRunner.java rename to src/main/java/me/topchetoeu/jscript/runtime/InstructionRunner.java diff --git a/src/java/me/topchetoeu/jscript/runtime/Key.java b/src/main/java/me/topchetoeu/jscript/runtime/Key.java similarity index 100% rename from src/java/me/topchetoeu/jscript/runtime/Key.java rename to src/main/java/me/topchetoeu/jscript/runtime/Key.java diff --git a/src/java/me/topchetoeu/jscript/runtime/WrapperProvider.java b/src/main/java/me/topchetoeu/jscript/runtime/WrapperProvider.java similarity index 100% rename from src/java/me/topchetoeu/jscript/runtime/WrapperProvider.java rename to src/main/java/me/topchetoeu/jscript/runtime/WrapperProvider.java diff --git a/src/java/me/topchetoeu/jscript/runtime/debug/DebugContext.java b/src/main/java/me/topchetoeu/jscript/runtime/debug/DebugContext.java similarity index 100% rename from src/java/me/topchetoeu/jscript/runtime/debug/DebugContext.java rename to src/main/java/me/topchetoeu/jscript/runtime/debug/DebugContext.java diff --git a/src/java/me/topchetoeu/jscript/runtime/debug/DebugHandler.java b/src/main/java/me/topchetoeu/jscript/runtime/debug/DebugHandler.java similarity index 100% rename from src/java/me/topchetoeu/jscript/runtime/debug/DebugHandler.java rename to src/main/java/me/topchetoeu/jscript/runtime/debug/DebugHandler.java diff --git a/src/java/me/topchetoeu/jscript/runtime/exceptions/ConvertException.java b/src/main/java/me/topchetoeu/jscript/runtime/exceptions/ConvertException.java similarity index 100% rename from src/java/me/topchetoeu/jscript/runtime/exceptions/ConvertException.java rename to src/main/java/me/topchetoeu/jscript/runtime/exceptions/ConvertException.java diff --git a/src/java/me/topchetoeu/jscript/runtime/exceptions/EngineException.java b/src/main/java/me/topchetoeu/jscript/runtime/exceptions/EngineException.java similarity index 100% rename from src/java/me/topchetoeu/jscript/runtime/exceptions/EngineException.java rename to src/main/java/me/topchetoeu/jscript/runtime/exceptions/EngineException.java diff --git a/src/java/me/topchetoeu/jscript/runtime/exceptions/InterruptException.java b/src/main/java/me/topchetoeu/jscript/runtime/exceptions/InterruptException.java similarity index 100% rename from src/java/me/topchetoeu/jscript/runtime/exceptions/InterruptException.java rename to src/main/java/me/topchetoeu/jscript/runtime/exceptions/InterruptException.java diff --git a/src/java/me/topchetoeu/jscript/runtime/exceptions/SyntaxException.java b/src/main/java/me/topchetoeu/jscript/runtime/exceptions/SyntaxException.java similarity index 100% rename from src/java/me/topchetoeu/jscript/runtime/exceptions/SyntaxException.java rename to src/main/java/me/topchetoeu/jscript/runtime/exceptions/SyntaxException.java diff --git a/src/java/me/topchetoeu/jscript/runtime/scope/GlobalScope.java b/src/main/java/me/topchetoeu/jscript/runtime/scope/GlobalScope.java similarity index 100% rename from src/java/me/topchetoeu/jscript/runtime/scope/GlobalScope.java rename to src/main/java/me/topchetoeu/jscript/runtime/scope/GlobalScope.java diff --git a/src/java/me/topchetoeu/jscript/runtime/scope/LocalScope.java b/src/main/java/me/topchetoeu/jscript/runtime/scope/LocalScope.java similarity index 100% rename from src/java/me/topchetoeu/jscript/runtime/scope/LocalScope.java rename to src/main/java/me/topchetoeu/jscript/runtime/scope/LocalScope.java diff --git a/src/java/me/topchetoeu/jscript/runtime/scope/ValueVariable.java b/src/main/java/me/topchetoeu/jscript/runtime/scope/ValueVariable.java similarity index 100% rename from src/java/me/topchetoeu/jscript/runtime/scope/ValueVariable.java rename to src/main/java/me/topchetoeu/jscript/runtime/scope/ValueVariable.java diff --git a/src/java/me/topchetoeu/jscript/runtime/scope/Variable.java b/src/main/java/me/topchetoeu/jscript/runtime/scope/Variable.java similarity index 100% rename from src/java/me/topchetoeu/jscript/runtime/scope/Variable.java rename to src/main/java/me/topchetoeu/jscript/runtime/scope/Variable.java diff --git a/src/java/me/topchetoeu/jscript/runtime/values/ArrayValue.java b/src/main/java/me/topchetoeu/jscript/runtime/values/ArrayValue.java similarity index 100% rename from src/java/me/topchetoeu/jscript/runtime/values/ArrayValue.java rename to src/main/java/me/topchetoeu/jscript/runtime/values/ArrayValue.java diff --git a/src/java/me/topchetoeu/jscript/runtime/values/CodeFunction.java b/src/main/java/me/topchetoeu/jscript/runtime/values/CodeFunction.java similarity index 100% rename from src/java/me/topchetoeu/jscript/runtime/values/CodeFunction.java rename to src/main/java/me/topchetoeu/jscript/runtime/values/CodeFunction.java diff --git a/src/java/me/topchetoeu/jscript/runtime/values/ConvertHint.java b/src/main/java/me/topchetoeu/jscript/runtime/values/ConvertHint.java similarity index 100% rename from src/java/me/topchetoeu/jscript/runtime/values/ConvertHint.java rename to src/main/java/me/topchetoeu/jscript/runtime/values/ConvertHint.java diff --git a/src/java/me/topchetoeu/jscript/runtime/values/FunctionValue.java b/src/main/java/me/topchetoeu/jscript/runtime/values/FunctionValue.java similarity index 100% rename from src/java/me/topchetoeu/jscript/runtime/values/FunctionValue.java rename to src/main/java/me/topchetoeu/jscript/runtime/values/FunctionValue.java diff --git a/src/java/me/topchetoeu/jscript/runtime/values/NativeFunction.java b/src/main/java/me/topchetoeu/jscript/runtime/values/NativeFunction.java similarity index 100% rename from src/java/me/topchetoeu/jscript/runtime/values/NativeFunction.java rename to src/main/java/me/topchetoeu/jscript/runtime/values/NativeFunction.java diff --git a/src/java/me/topchetoeu/jscript/runtime/values/NativeWrapper.java b/src/main/java/me/topchetoeu/jscript/runtime/values/NativeWrapper.java similarity index 100% rename from src/java/me/topchetoeu/jscript/runtime/values/NativeWrapper.java rename to src/main/java/me/topchetoeu/jscript/runtime/values/NativeWrapper.java diff --git a/src/java/me/topchetoeu/jscript/runtime/values/ObjectValue.java b/src/main/java/me/topchetoeu/jscript/runtime/values/ObjectValue.java similarity index 100% rename from src/java/me/topchetoeu/jscript/runtime/values/ObjectValue.java rename to src/main/java/me/topchetoeu/jscript/runtime/values/ObjectValue.java diff --git a/src/java/me/topchetoeu/jscript/runtime/values/ScopeValue.java b/src/main/java/me/topchetoeu/jscript/runtime/values/ScopeValue.java similarity index 100% rename from src/java/me/topchetoeu/jscript/runtime/values/ScopeValue.java rename to src/main/java/me/topchetoeu/jscript/runtime/values/ScopeValue.java diff --git a/src/java/me/topchetoeu/jscript/runtime/values/Symbol.java b/src/main/java/me/topchetoeu/jscript/runtime/values/Symbol.java similarity index 100% rename from src/java/me/topchetoeu/jscript/runtime/values/Symbol.java rename to src/main/java/me/topchetoeu/jscript/runtime/values/Symbol.java diff --git a/src/java/me/topchetoeu/jscript/runtime/values/Values.java b/src/main/java/me/topchetoeu/jscript/runtime/values/Values.java similarity index 100% rename from src/java/me/topchetoeu/jscript/runtime/values/Values.java rename to src/main/java/me/topchetoeu/jscript/runtime/values/Values.java diff --git a/src/java/me/topchetoeu/jscript/utils/JSCompiler.java b/src/main/java/me/topchetoeu/jscript/utils/JSCompiler.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/JSCompiler.java rename to src/main/java/me/topchetoeu/jscript/utils/JSCompiler.java diff --git a/src/java/me/topchetoeu/jscript/utils/JScriptRepl.java b/src/main/java/me/topchetoeu/jscript/utils/JScriptRepl.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/JScriptRepl.java rename to src/main/java/me/topchetoeu/jscript/utils/JScriptRepl.java diff --git a/src/java/me/topchetoeu/jscript/utils/debug/DebugServer.java b/src/main/java/me/topchetoeu/jscript/utils/debug/DebugServer.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/debug/DebugServer.java rename to src/main/java/me/topchetoeu/jscript/utils/debug/DebugServer.java diff --git a/src/java/me/topchetoeu/jscript/utils/debug/Debugger.java b/src/main/java/me/topchetoeu/jscript/utils/debug/Debugger.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/debug/Debugger.java rename to src/main/java/me/topchetoeu/jscript/utils/debug/Debugger.java diff --git a/src/java/me/topchetoeu/jscript/utils/debug/DebuggerProvider.java b/src/main/java/me/topchetoeu/jscript/utils/debug/DebuggerProvider.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/debug/DebuggerProvider.java rename to src/main/java/me/topchetoeu/jscript/utils/debug/DebuggerProvider.java diff --git a/src/java/me/topchetoeu/jscript/utils/debug/HttpRequest.java b/src/main/java/me/topchetoeu/jscript/utils/debug/HttpRequest.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/debug/HttpRequest.java rename to src/main/java/me/topchetoeu/jscript/utils/debug/HttpRequest.java diff --git a/src/java/me/topchetoeu/jscript/utils/debug/SimpleDebugger.java b/src/main/java/me/topchetoeu/jscript/utils/debug/SimpleDebugger.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/debug/SimpleDebugger.java rename to src/main/java/me/topchetoeu/jscript/utils/debug/SimpleDebugger.java diff --git a/src/java/me/topchetoeu/jscript/utils/debug/V8Error.java b/src/main/java/me/topchetoeu/jscript/utils/debug/V8Error.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/debug/V8Error.java rename to src/main/java/me/topchetoeu/jscript/utils/debug/V8Error.java diff --git a/src/java/me/topchetoeu/jscript/utils/debug/V8Event.java b/src/main/java/me/topchetoeu/jscript/utils/debug/V8Event.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/debug/V8Event.java rename to src/main/java/me/topchetoeu/jscript/utils/debug/V8Event.java diff --git a/src/java/me/topchetoeu/jscript/utils/debug/V8Message.java b/src/main/java/me/topchetoeu/jscript/utils/debug/V8Message.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/debug/V8Message.java rename to src/main/java/me/topchetoeu/jscript/utils/debug/V8Message.java diff --git a/src/java/me/topchetoeu/jscript/utils/debug/V8Result.java b/src/main/java/me/topchetoeu/jscript/utils/debug/V8Result.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/debug/V8Result.java rename to src/main/java/me/topchetoeu/jscript/utils/debug/V8Result.java diff --git a/src/java/me/topchetoeu/jscript/utils/debug/WebSocket.java b/src/main/java/me/topchetoeu/jscript/utils/debug/WebSocket.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/debug/WebSocket.java rename to src/main/java/me/topchetoeu/jscript/utils/debug/WebSocket.java diff --git a/src/java/me/topchetoeu/jscript/utils/debug/WebSocketMessage.java b/src/main/java/me/topchetoeu/jscript/utils/debug/WebSocketMessage.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/debug/WebSocketMessage.java rename to src/main/java/me/topchetoeu/jscript/utils/debug/WebSocketMessage.java diff --git a/src/java/me/topchetoeu/jscript/utils/filesystem/ActionType.java b/src/main/java/me/topchetoeu/jscript/utils/filesystem/ActionType.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/filesystem/ActionType.java rename to src/main/java/me/topchetoeu/jscript/utils/filesystem/ActionType.java diff --git a/src/java/me/topchetoeu/jscript/utils/filesystem/BaseFile.java b/src/main/java/me/topchetoeu/jscript/utils/filesystem/BaseFile.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/filesystem/BaseFile.java rename to src/main/java/me/topchetoeu/jscript/utils/filesystem/BaseFile.java diff --git a/src/java/me/topchetoeu/jscript/utils/filesystem/EntryType.java b/src/main/java/me/topchetoeu/jscript/utils/filesystem/EntryType.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/filesystem/EntryType.java rename to src/main/java/me/topchetoeu/jscript/utils/filesystem/EntryType.java diff --git a/src/java/me/topchetoeu/jscript/utils/filesystem/ErrorReason.java b/src/main/java/me/topchetoeu/jscript/utils/filesystem/ErrorReason.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/filesystem/ErrorReason.java rename to src/main/java/me/topchetoeu/jscript/utils/filesystem/ErrorReason.java diff --git a/src/java/me/topchetoeu/jscript/utils/filesystem/File.java b/src/main/java/me/topchetoeu/jscript/utils/filesystem/File.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/filesystem/File.java rename to src/main/java/me/topchetoeu/jscript/utils/filesystem/File.java diff --git a/src/java/me/topchetoeu/jscript/utils/filesystem/FileStat.java b/src/main/java/me/topchetoeu/jscript/utils/filesystem/FileStat.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/filesystem/FileStat.java rename to src/main/java/me/topchetoeu/jscript/utils/filesystem/FileStat.java diff --git a/src/java/me/topchetoeu/jscript/utils/filesystem/Filesystem.java b/src/main/java/me/topchetoeu/jscript/utils/filesystem/Filesystem.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/filesystem/Filesystem.java rename to src/main/java/me/topchetoeu/jscript/utils/filesystem/Filesystem.java diff --git a/src/java/me/topchetoeu/jscript/utils/filesystem/FilesystemException.java b/src/main/java/me/topchetoeu/jscript/utils/filesystem/FilesystemException.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/filesystem/FilesystemException.java rename to src/main/java/me/topchetoeu/jscript/utils/filesystem/FilesystemException.java diff --git a/src/java/me/topchetoeu/jscript/utils/filesystem/HandleManager.java b/src/main/java/me/topchetoeu/jscript/utils/filesystem/HandleManager.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/filesystem/HandleManager.java rename to src/main/java/me/topchetoeu/jscript/utils/filesystem/HandleManager.java diff --git a/src/java/me/topchetoeu/jscript/utils/filesystem/LineReader.java b/src/main/java/me/topchetoeu/jscript/utils/filesystem/LineReader.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/filesystem/LineReader.java rename to src/main/java/me/topchetoeu/jscript/utils/filesystem/LineReader.java diff --git a/src/java/me/topchetoeu/jscript/utils/filesystem/LineWriter.java b/src/main/java/me/topchetoeu/jscript/utils/filesystem/LineWriter.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/filesystem/LineWriter.java rename to src/main/java/me/topchetoeu/jscript/utils/filesystem/LineWriter.java diff --git a/src/java/me/topchetoeu/jscript/utils/filesystem/MemoryFile.java b/src/main/java/me/topchetoeu/jscript/utils/filesystem/MemoryFile.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/filesystem/MemoryFile.java rename to src/main/java/me/topchetoeu/jscript/utils/filesystem/MemoryFile.java diff --git a/src/java/me/topchetoeu/jscript/utils/filesystem/MemoryFilesystem.java b/src/main/java/me/topchetoeu/jscript/utils/filesystem/MemoryFilesystem.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/filesystem/MemoryFilesystem.java rename to src/main/java/me/topchetoeu/jscript/utils/filesystem/MemoryFilesystem.java diff --git a/src/java/me/topchetoeu/jscript/utils/filesystem/Mode.java b/src/main/java/me/topchetoeu/jscript/utils/filesystem/Mode.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/filesystem/Mode.java rename to src/main/java/me/topchetoeu/jscript/utils/filesystem/Mode.java diff --git a/src/java/me/topchetoeu/jscript/utils/filesystem/Paths.java b/src/main/java/me/topchetoeu/jscript/utils/filesystem/Paths.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/filesystem/Paths.java rename to src/main/java/me/topchetoeu/jscript/utils/filesystem/Paths.java diff --git a/src/java/me/topchetoeu/jscript/utils/filesystem/PhysicalFile.java b/src/main/java/me/topchetoeu/jscript/utils/filesystem/PhysicalFile.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/filesystem/PhysicalFile.java rename to src/main/java/me/topchetoeu/jscript/utils/filesystem/PhysicalFile.java diff --git a/src/java/me/topchetoeu/jscript/utils/filesystem/PhysicalFilesystem.java b/src/main/java/me/topchetoeu/jscript/utils/filesystem/PhysicalFilesystem.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/filesystem/PhysicalFilesystem.java rename to src/main/java/me/topchetoeu/jscript/utils/filesystem/PhysicalFilesystem.java diff --git a/src/java/me/topchetoeu/jscript/utils/filesystem/RootFilesystem.java b/src/main/java/me/topchetoeu/jscript/utils/filesystem/RootFilesystem.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/filesystem/RootFilesystem.java rename to src/main/java/me/topchetoeu/jscript/utils/filesystem/RootFilesystem.java diff --git a/src/java/me/topchetoeu/jscript/utils/filesystem/STDFilesystem.java b/src/main/java/me/topchetoeu/jscript/utils/filesystem/STDFilesystem.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/filesystem/STDFilesystem.java rename to src/main/java/me/topchetoeu/jscript/utils/filesystem/STDFilesystem.java diff --git a/src/java/me/topchetoeu/jscript/utils/interop/Arguments.java b/src/main/java/me/topchetoeu/jscript/utils/interop/Arguments.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/interop/Arguments.java rename to src/main/java/me/topchetoeu/jscript/utils/interop/Arguments.java diff --git a/src/java/me/topchetoeu/jscript/utils/interop/Expose.java b/src/main/java/me/topchetoeu/jscript/utils/interop/Expose.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/interop/Expose.java rename to src/main/java/me/topchetoeu/jscript/utils/interop/Expose.java diff --git a/src/java/me/topchetoeu/jscript/utils/interop/ExposeConstructor.java b/src/main/java/me/topchetoeu/jscript/utils/interop/ExposeConstructor.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/interop/ExposeConstructor.java rename to src/main/java/me/topchetoeu/jscript/utils/interop/ExposeConstructor.java diff --git a/src/java/me/topchetoeu/jscript/utils/interop/ExposeField.java b/src/main/java/me/topchetoeu/jscript/utils/interop/ExposeField.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/interop/ExposeField.java rename to src/main/java/me/topchetoeu/jscript/utils/interop/ExposeField.java diff --git a/src/java/me/topchetoeu/jscript/utils/interop/ExposeTarget.java b/src/main/java/me/topchetoeu/jscript/utils/interop/ExposeTarget.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/interop/ExposeTarget.java rename to src/main/java/me/topchetoeu/jscript/utils/interop/ExposeTarget.java diff --git a/src/java/me/topchetoeu/jscript/utils/interop/ExposeType.java b/src/main/java/me/topchetoeu/jscript/utils/interop/ExposeType.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/interop/ExposeType.java rename to src/main/java/me/topchetoeu/jscript/utils/interop/ExposeType.java diff --git a/src/java/me/topchetoeu/jscript/utils/interop/NativeWrapperProvider.java b/src/main/java/me/topchetoeu/jscript/utils/interop/NativeWrapperProvider.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/interop/NativeWrapperProvider.java rename to src/main/java/me/topchetoeu/jscript/utils/interop/NativeWrapperProvider.java diff --git a/src/java/me/topchetoeu/jscript/utils/interop/OnWrapperInit.java b/src/main/java/me/topchetoeu/jscript/utils/interop/OnWrapperInit.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/interop/OnWrapperInit.java rename to src/main/java/me/topchetoeu/jscript/utils/interop/OnWrapperInit.java diff --git a/src/java/me/topchetoeu/jscript/utils/interop/WrapperName.java b/src/main/java/me/topchetoeu/jscript/utils/interop/WrapperName.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/interop/WrapperName.java rename to src/main/java/me/topchetoeu/jscript/utils/interop/WrapperName.java diff --git a/src/java/me/topchetoeu/jscript/utils/mapping/SourceMap.java b/src/main/java/me/topchetoeu/jscript/utils/mapping/SourceMap.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/mapping/SourceMap.java rename to src/main/java/me/topchetoeu/jscript/utils/mapping/SourceMap.java diff --git a/src/java/me/topchetoeu/jscript/utils/mapping/VLQ.java b/src/main/java/me/topchetoeu/jscript/utils/mapping/VLQ.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/mapping/VLQ.java rename to src/main/java/me/topchetoeu/jscript/utils/mapping/VLQ.java diff --git a/src/java/me/topchetoeu/jscript/utils/modules/Module.java b/src/main/java/me/topchetoeu/jscript/utils/modules/Module.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/modules/Module.java rename to src/main/java/me/topchetoeu/jscript/utils/modules/Module.java diff --git a/src/java/me/topchetoeu/jscript/utils/modules/ModuleRepo.java b/src/main/java/me/topchetoeu/jscript/utils/modules/ModuleRepo.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/modules/ModuleRepo.java rename to src/main/java/me/topchetoeu/jscript/utils/modules/ModuleRepo.java diff --git a/src/java/me/topchetoeu/jscript/utils/modules/RootModuleRepo.java b/src/main/java/me/topchetoeu/jscript/utils/modules/RootModuleRepo.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/modules/RootModuleRepo.java rename to src/main/java/me/topchetoeu/jscript/utils/modules/RootModuleRepo.java diff --git a/src/java/me/topchetoeu/jscript/utils/modules/SourceModule.java b/src/main/java/me/topchetoeu/jscript/utils/modules/SourceModule.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/modules/SourceModule.java rename to src/main/java/me/topchetoeu/jscript/utils/modules/SourceModule.java diff --git a/src/java/me/topchetoeu/jscript/utils/permissions/Matcher.java b/src/main/java/me/topchetoeu/jscript/utils/permissions/Matcher.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/permissions/Matcher.java rename to src/main/java/me/topchetoeu/jscript/utils/permissions/Matcher.java diff --git a/src/java/me/topchetoeu/jscript/utils/permissions/Permission.java b/src/main/java/me/topchetoeu/jscript/utils/permissions/Permission.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/permissions/Permission.java rename to src/main/java/me/topchetoeu/jscript/utils/permissions/Permission.java diff --git a/src/java/me/topchetoeu/jscript/utils/permissions/PermissionPredicate.java b/src/main/java/me/topchetoeu/jscript/utils/permissions/PermissionPredicate.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/permissions/PermissionPredicate.java rename to src/main/java/me/topchetoeu/jscript/utils/permissions/PermissionPredicate.java diff --git a/src/java/me/topchetoeu/jscript/utils/permissions/PermissionsManager.java b/src/main/java/me/topchetoeu/jscript/utils/permissions/PermissionsManager.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/permissions/PermissionsManager.java rename to src/main/java/me/topchetoeu/jscript/utils/permissions/PermissionsManager.java diff --git a/src/java/me/topchetoeu/jscript/utils/permissions/PermissionsProvider.java b/src/main/java/me/topchetoeu/jscript/utils/permissions/PermissionsProvider.java similarity index 100% rename from src/java/me/topchetoeu/jscript/utils/permissions/PermissionsProvider.java rename to src/main/java/me/topchetoeu/jscript/utils/permissions/PermissionsProvider.java diff --git a/src/assets/debugger/favicon.png b/src/main/resources/debugger/favicon.png similarity index 100% rename from src/assets/debugger/favicon.png rename to src/main/resources/debugger/favicon.png diff --git a/src/assets/debugger/index.html b/src/main/resources/debugger/index.html similarity index 100% rename from src/assets/debugger/index.html rename to src/main/resources/debugger/index.html diff --git a/src/assets/debugger/protocol.json b/src/main/resources/debugger/protocol.json similarity index 100% rename from src/assets/debugger/protocol.json rename to src/main/resources/debugger/protocol.json diff --git a/src/assets/metadata.json b/src/main/resources/metadata.json similarity index 100% rename from src/assets/metadata.json rename to src/main/resources/metadata.json diff --git a/src/test/java/me/topchetoeu/jscript/TestHelloWorld.java b/src/test/java/me/topchetoeu/jscript/TestHelloWorld.java new file mode 100644 index 0000000..efb2e25 --- /dev/null +++ b/src/test/java/me/topchetoeu/jscript/TestHelloWorld.java @@ -0,0 +1,14 @@ +package me.topchetoeu.jscript; + +import org.junit.jupiter.api.Test; + +import static org.junit.jupiter.api.Assertions.assertEquals; + +public class TestHelloWorld { + + @Test + public void testHelloWorld() { + final String message = "Hello World!"; + assertEquals("Hello World!", message); + } +}