From e772f0b50d95231d5ce18349ce55ffa9637f914a Mon Sep 17 00:00:00 2001 From: TopchetoEU <36534413+TopchetoEU@users.noreply.github.com> Date: Thu, 11 Jan 2024 09:56:50 +0200 Subject: [PATCH] feat: change custom build script to gradle --- .gitignore | 1 + build.gradle | 26 ++++++++++++++++++ settings.gradle | 1 + .../utils => }/assets/debugger/favicon.png | Bin .../utils => }/assets/debugger/index.html | 0 .../utils => }/assets/debugger/protocol.json | 0 .../me/topchetoeu/jscript/common/Buffer.java | 0 .../topchetoeu/jscript/common/Filename.java | 0 .../topchetoeu/jscript/common/Location.java | 0 .../topchetoeu/jscript/common/Metadata.java | 0 .../me/topchetoeu/jscript/common/Reading.java | 0 .../jscript/common/ResultRunnable.java | 0 .../me/topchetoeu/jscript/common/VLQ.java | 0 .../jscript/common/events/Awaitable.java | 0 .../jscript/common/events/DataNotifier.java | 0 .../jscript/common/events/Notifier.java | 0 .../topchetoeu/jscript/common/json/JSON.java | 0 .../jscript/common/json/JSONElement.java | 0 .../jscript/common/json/JSONList.java | 0 .../jscript/common/json/JSONMap.java | 0 .../core/compilation/AssignableStatement.java | 0 .../core/compilation/CalculateResult.java | 0 .../core/compilation/CompileTarget.java | 0 .../core/compilation/CompoundStatement.java | 0 .../core/compilation/FunctionBody.java | 0 .../jscript/core/compilation/Instruction.java | 0 .../jscript/core/compilation/Statement.java | 0 .../compilation/ThrowSyntaxStatement.java | 0 .../compilation/VariableDeclareStatement.java | 0 .../compilation/control/BreakStatement.java | 0 .../control/ContinueStatement.java | 0 .../compilation/control/DebugStatement.java | 0 .../compilation/control/DeleteStatement.java | 0 .../compilation/control/DoWhileStatement.java | 0 .../compilation/control/ForInStatement.java | 0 .../compilation/control/ForStatement.java | 0 .../core/compilation/control/IfStatement.java | 0 .../compilation/control/ReturnStatement.java | 0 .../compilation/control/SwitchStatement.java | 0 .../compilation/control/ThrowStatement.java | 0 .../compilation/control/TryStatement.java | 0 .../compilation/control/WhileStatement.java | 0 .../compilation/values/ArrayStatement.java | 0 .../compilation/values/CallStatement.java | 0 .../compilation/values/ChangeStatement.java | 0 .../compilation/values/ConstantStatement.java | 0 .../compilation/values/DiscardStatement.java | 0 .../compilation/values/FunctionStatement.java | 0 .../values/GlobalThisStatement.java | 0 .../values/IndexAssignStatement.java | 0 .../compilation/values/IndexStatement.java | 0 .../compilation/values/LazyAndStatement.java | 0 .../compilation/values/LazyOrStatement.java | 0 .../compilation/values/ObjectStatement.java | 0 .../values/OperationStatement.java | 0 .../compilation/values/RegexStatement.java | 0 .../compilation/values/TypeofStatement.java | 0 .../values/VariableAssignStatement.java | 0 .../values/VariableIndexStatement.java | 0 .../compilation/values/VariableStatement.java | 0 .../jscript/core/engine/Context.java | 0 .../jscript/core/engine/Engine.java | 0 .../jscript/core/engine/Environment.java | 0 .../jscript/core/engine/EventLoop.java | 0 .../jscript/core/engine/Extensions.java | 0 .../jscript/core/engine/Operation.java | 0 .../jscript/core/engine/WrapperProvider.java | 0 .../core/engine/debug/DebugContext.java | 0 .../core/engine/debug/DebugController.java | 0 .../jscript/core/engine/frame/CodeFrame.java | 0 .../core/engine/frame/ConvertHint.java | 0 .../jscript/core/engine/frame/Runners.java | 0 .../core/engine/scope/GlobalScope.java | 0 .../jscript/core/engine/scope/LocalScope.java | 0 .../core/engine/scope/LocalScopeRecord.java | 0 .../core/engine/scope/ScopeRecord.java | 0 .../core/engine/scope/ValueVariable.java | 0 .../jscript/core/engine/scope/Variable.java | 0 .../core/engine/values/ArrayValue.java | 0 .../core/engine/values/CodeFunction.java | 0 .../core/engine/values/FunctionValue.java | 0 .../core/engine/values/NativeFunction.java | 0 .../core/engine/values/NativeWrapper.java | 0 .../core/engine/values/ObjectValue.java | 0 .../core/engine/values/ScopeValue.java | 0 .../jscript/core/engine/values/Symbol.java | 0 .../jscript/core/engine/values/Values.java | 0 .../core/exceptions/ConvertException.java | 0 .../core/exceptions/EngineException.java | 0 .../core/exceptions/InterruptException.java | 0 .../core/exceptions/SyntaxException.java | 0 .../jscript/core/parsing/Operator.java | 0 .../jscript/core/parsing/ParseRes.java | 0 .../jscript/core/parsing/Parsing.java | 0 .../jscript/core/parsing/RawToken.java | 0 .../jscript/core/parsing/TestRes.java | 0 .../jscript/core/parsing/Token.java | 0 .../jscript/core/parsing/TokenType.java | 0 .../me/topchetoeu/jscript/lib/ArrayLib.java | 0 .../jscript/lib/AsyncFunctionLib.java | 0 .../lib/AsyncGeneratorFunctionLib.java | 0 .../jscript/lib/AsyncGeneratorLib.java | 0 .../me/topchetoeu/jscript/lib/BooleanLib.java | 0 .../me/topchetoeu/jscript/lib/DateLib.java | 0 .../topchetoeu/jscript/lib/EncodingLib.java | 0 .../jscript/lib/EnvironmentLib.java | 0 .../me/topchetoeu/jscript/lib/ErrorLib.java | 0 .../me/topchetoeu/jscript/lib/FileLib.java | 0 .../topchetoeu/jscript/lib/FilesystemLib.java | 0 .../topchetoeu/jscript/lib/FunctionLib.java | 0 .../jscript/lib/GeneratorFunctionLib.java | 0 .../topchetoeu/jscript/lib/GeneratorLib.java | 0 .../me/topchetoeu/jscript/lib/Internals.java | 0 .../me/topchetoeu/jscript/lib/JSONLib.java | 0 .../me/topchetoeu/jscript/lib/MapLib.java | 0 .../me/topchetoeu/jscript/lib/MathLib.java | 0 .../me/topchetoeu/jscript/lib/NumberLib.java | 0 .../me/topchetoeu/jscript/lib/ObjectLib.java | 0 .../me/topchetoeu/jscript/lib/PromiseLib.java | 0 .../topchetoeu/jscript/lib/RangeErrorLib.java | 0 .../me/topchetoeu/jscript/lib/RegExpLib.java | 0 .../me/topchetoeu/jscript/lib/SetLib.java | 0 .../me/topchetoeu/jscript/lib/StringLib.java | 0 .../me/topchetoeu/jscript/lib/SymbolLib.java | 0 .../jscript/lib/SyntaxErrorLib.java | 0 .../topchetoeu/jscript/lib/TypeErrorLib.java | 0 .../topchetoeu/jscript/utils/JScriptRepl.java | 0 .../jscript/utils/debug/DebugHandler.java | 0 .../jscript/utils/debug/DebugServer.java | 6 ++-- .../jscript/utils/debug/Debugger.java | 0 .../jscript/utils/debug/DebuggerProvider.java | 0 .../jscript/utils/debug/HttpRequest.java | 0 .../jscript/utils/debug/SimpleDebugger.java | 0 .../jscript/utils/debug/V8Error.java | 0 .../jscript/utils/debug/V8Event.java | 0 .../jscript/utils/debug/V8Message.java | 0 .../jscript/utils/debug/V8Result.java | 0 .../jscript/utils/debug/WebSocket.java | 0 .../jscript/utils/debug/WebSocketMessage.java | 0 .../jscript/utils/filesystem/EntryType.java | 0 .../jscript/utils/filesystem/File.java | 0 .../jscript/utils/filesystem/FileStat.java | 0 .../jscript/utils/filesystem/Filesystem.java | 0 .../utils/filesystem/FilesystemException.java | 0 .../jscript/utils/filesystem/ListFile.java | 0 .../jscript/utils/filesystem/MemoryFile.java | 0 .../utils/filesystem/MemoryFilesystem.java | 0 .../jscript/utils/filesystem/Mode.java | 0 .../jscript/utils/filesystem/Paths.java | 0 .../utils/filesystem/PhysicalFile.java | 0 .../utils/filesystem/PhysicalFilesystem.java | 0 .../utils/filesystem/RootFilesystem.java | 0 .../jscript/utils/interop/Arguments.java | 0 .../jscript/utils/interop/Expose.java | 0 .../utils/interop/ExposeConstructor.java | 0 .../jscript/utils/interop/ExposeField.java | 0 .../jscript/utils/interop/ExposeTarget.java | 0 .../jscript/utils/interop/ExposeType.java | 0 .../utils/interop/NativeWrapperProvider.java | 0 .../jscript/utils/interop/OnWrapperInit.java | 0 .../jscript/utils/interop/WrapperName.java | 0 .../jscript/utils/mapping/SourceMap.java | 0 .../jscript/utils/modules/Module.java | 0 .../jscript/utils/modules/ModuleRepo.java | 0 .../jscript/utils/modules/RootModuleRepo.java | 0 .../jscript/utils/modules/SourceModule.java | 0 .../jscript/utils/permissions/Permission.java | 0 .../utils/permissions/PermissionsManager.java | 0 .../permissions/PermissionsProvider.java | 0 169 files changed, 31 insertions(+), 3 deletions(-) create mode 100644 build.gradle create mode 100644 settings.gradle rename src/{me/topchetoeu/jscript/utils => }/assets/debugger/favicon.png (100%) rename src/{me/topchetoeu/jscript/utils => }/assets/debugger/index.html (100%) rename src/{me/topchetoeu/jscript/utils => }/assets/debugger/protocol.json (100%) rename src/{ => java}/me/topchetoeu/jscript/common/Buffer.java (100%) rename src/{ => java}/me/topchetoeu/jscript/common/Filename.java (100%) rename src/{ => java}/me/topchetoeu/jscript/common/Location.java (100%) rename src/{ => java}/me/topchetoeu/jscript/common/Metadata.java (100%) rename src/{ => java}/me/topchetoeu/jscript/common/Reading.java (100%) rename src/{ => java}/me/topchetoeu/jscript/common/ResultRunnable.java (100%) rename src/{ => java}/me/topchetoeu/jscript/common/VLQ.java (100%) rename src/{ => java}/me/topchetoeu/jscript/common/events/Awaitable.java (100%) rename src/{ => java}/me/topchetoeu/jscript/common/events/DataNotifier.java (100%) rename src/{ => java}/me/topchetoeu/jscript/common/events/Notifier.java (100%) rename src/{ => java}/me/topchetoeu/jscript/common/json/JSON.java (100%) rename src/{ => java}/me/topchetoeu/jscript/common/json/JSONElement.java (100%) rename src/{ => java}/me/topchetoeu/jscript/common/json/JSONList.java (100%) rename src/{ => java}/me/topchetoeu/jscript/common/json/JSONMap.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/compilation/AssignableStatement.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/compilation/CalculateResult.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/compilation/CompileTarget.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/compilation/CompoundStatement.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/compilation/FunctionBody.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/compilation/Instruction.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/compilation/Statement.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/compilation/ThrowSyntaxStatement.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/compilation/VariableDeclareStatement.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/compilation/control/BreakStatement.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/compilation/control/ContinueStatement.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/compilation/control/DebugStatement.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/compilation/control/DeleteStatement.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/compilation/control/DoWhileStatement.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/compilation/control/ForInStatement.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/compilation/control/ForStatement.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/compilation/control/IfStatement.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/compilation/control/ReturnStatement.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/compilation/control/SwitchStatement.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/compilation/control/ThrowStatement.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/compilation/control/TryStatement.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/compilation/control/WhileStatement.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/compilation/values/ArrayStatement.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/compilation/values/CallStatement.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/compilation/values/ChangeStatement.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/compilation/values/ConstantStatement.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/compilation/values/DiscardStatement.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/compilation/values/FunctionStatement.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/compilation/values/GlobalThisStatement.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/compilation/values/IndexAssignStatement.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/compilation/values/IndexStatement.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/compilation/values/LazyAndStatement.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/compilation/values/LazyOrStatement.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/compilation/values/ObjectStatement.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/compilation/values/OperationStatement.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/compilation/values/RegexStatement.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/compilation/values/TypeofStatement.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/compilation/values/VariableAssignStatement.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/compilation/values/VariableIndexStatement.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/compilation/values/VariableStatement.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/engine/Context.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/engine/Engine.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/engine/Environment.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/engine/EventLoop.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/engine/Extensions.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/engine/Operation.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/engine/WrapperProvider.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/engine/debug/DebugContext.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/engine/debug/DebugController.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/engine/frame/CodeFrame.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/engine/frame/ConvertHint.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/engine/frame/Runners.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/engine/scope/GlobalScope.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/engine/scope/LocalScope.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/engine/scope/LocalScopeRecord.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/engine/scope/ScopeRecord.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/engine/scope/ValueVariable.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/engine/scope/Variable.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/engine/values/ArrayValue.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/engine/values/CodeFunction.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/engine/values/FunctionValue.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/engine/values/NativeFunction.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/engine/values/NativeWrapper.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/engine/values/ObjectValue.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/engine/values/ScopeValue.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/engine/values/Symbol.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/engine/values/Values.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/exceptions/ConvertException.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/exceptions/EngineException.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/exceptions/InterruptException.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/exceptions/SyntaxException.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/parsing/Operator.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/parsing/ParseRes.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/parsing/Parsing.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/parsing/RawToken.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/parsing/TestRes.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/parsing/Token.java (100%) rename src/{ => java}/me/topchetoeu/jscript/core/parsing/TokenType.java (100%) rename src/{ => java}/me/topchetoeu/jscript/lib/ArrayLib.java (100%) rename src/{ => java}/me/topchetoeu/jscript/lib/AsyncFunctionLib.java (100%) rename src/{ => java}/me/topchetoeu/jscript/lib/AsyncGeneratorFunctionLib.java (100%) rename src/{ => java}/me/topchetoeu/jscript/lib/AsyncGeneratorLib.java (100%) rename src/{ => java}/me/topchetoeu/jscript/lib/BooleanLib.java (100%) rename src/{ => java}/me/topchetoeu/jscript/lib/DateLib.java (100%) rename src/{ => java}/me/topchetoeu/jscript/lib/EncodingLib.java (100%) rename src/{ => java}/me/topchetoeu/jscript/lib/EnvironmentLib.java (100%) rename src/{ => java}/me/topchetoeu/jscript/lib/ErrorLib.java (100%) rename src/{ => java}/me/topchetoeu/jscript/lib/FileLib.java (100%) rename src/{ => java}/me/topchetoeu/jscript/lib/FilesystemLib.java (100%) rename src/{ => java}/me/topchetoeu/jscript/lib/FunctionLib.java (100%) rename src/{ => java}/me/topchetoeu/jscript/lib/GeneratorFunctionLib.java (100%) rename src/{ => java}/me/topchetoeu/jscript/lib/GeneratorLib.java (100%) rename src/{ => java}/me/topchetoeu/jscript/lib/Internals.java (100%) rename src/{ => java}/me/topchetoeu/jscript/lib/JSONLib.java (100%) rename src/{ => java}/me/topchetoeu/jscript/lib/MapLib.java (100%) rename src/{ => java}/me/topchetoeu/jscript/lib/MathLib.java (100%) rename src/{ => java}/me/topchetoeu/jscript/lib/NumberLib.java (100%) rename src/{ => java}/me/topchetoeu/jscript/lib/ObjectLib.java (100%) rename src/{ => java}/me/topchetoeu/jscript/lib/PromiseLib.java (100%) rename src/{ => java}/me/topchetoeu/jscript/lib/RangeErrorLib.java (100%) rename src/{ => java}/me/topchetoeu/jscript/lib/RegExpLib.java (100%) rename src/{ => java}/me/topchetoeu/jscript/lib/SetLib.java (100%) rename src/{ => java}/me/topchetoeu/jscript/lib/StringLib.java (100%) rename src/{ => java}/me/topchetoeu/jscript/lib/SymbolLib.java (100%) rename src/{ => java}/me/topchetoeu/jscript/lib/SyntaxErrorLib.java (100%) rename src/{ => java}/me/topchetoeu/jscript/lib/TypeErrorLib.java (100%) rename src/{ => java}/me/topchetoeu/jscript/utils/JScriptRepl.java (100%) rename src/{ => java}/me/topchetoeu/jscript/utils/debug/DebugHandler.java (100%) rename src/{ => java}/me/topchetoeu/jscript/utils/debug/DebugServer.java (96%) rename src/{ => java}/me/topchetoeu/jscript/utils/debug/Debugger.java (100%) rename src/{ => java}/me/topchetoeu/jscript/utils/debug/DebuggerProvider.java (100%) rename src/{ => java}/me/topchetoeu/jscript/utils/debug/HttpRequest.java (100%) rename src/{ => java}/me/topchetoeu/jscript/utils/debug/SimpleDebugger.java (100%) rename src/{ => java}/me/topchetoeu/jscript/utils/debug/V8Error.java (100%) rename src/{ => java}/me/topchetoeu/jscript/utils/debug/V8Event.java (100%) rename src/{ => java}/me/topchetoeu/jscript/utils/debug/V8Message.java (100%) rename src/{ => java}/me/topchetoeu/jscript/utils/debug/V8Result.java (100%) rename src/{ => java}/me/topchetoeu/jscript/utils/debug/WebSocket.java (100%) rename src/{ => java}/me/topchetoeu/jscript/utils/debug/WebSocketMessage.java (100%) rename src/{ => java}/me/topchetoeu/jscript/utils/filesystem/EntryType.java (100%) rename src/{ => java}/me/topchetoeu/jscript/utils/filesystem/File.java (100%) rename src/{ => java}/me/topchetoeu/jscript/utils/filesystem/FileStat.java (100%) rename src/{ => java}/me/topchetoeu/jscript/utils/filesystem/Filesystem.java (100%) rename src/{ => java}/me/topchetoeu/jscript/utils/filesystem/FilesystemException.java (100%) rename src/{ => java}/me/topchetoeu/jscript/utils/filesystem/ListFile.java (100%) rename src/{ => java}/me/topchetoeu/jscript/utils/filesystem/MemoryFile.java (100%) rename src/{ => java}/me/topchetoeu/jscript/utils/filesystem/MemoryFilesystem.java (100%) rename src/{ => java}/me/topchetoeu/jscript/utils/filesystem/Mode.java (100%) rename src/{ => java}/me/topchetoeu/jscript/utils/filesystem/Paths.java (100%) rename src/{ => java}/me/topchetoeu/jscript/utils/filesystem/PhysicalFile.java (100%) rename src/{ => java}/me/topchetoeu/jscript/utils/filesystem/PhysicalFilesystem.java (100%) rename src/{ => java}/me/topchetoeu/jscript/utils/filesystem/RootFilesystem.java (100%) rename src/{ => java}/me/topchetoeu/jscript/utils/interop/Arguments.java (100%) rename src/{ => java}/me/topchetoeu/jscript/utils/interop/Expose.java (100%) rename src/{ => java}/me/topchetoeu/jscript/utils/interop/ExposeConstructor.java (100%) rename src/{ => java}/me/topchetoeu/jscript/utils/interop/ExposeField.java (100%) rename src/{ => java}/me/topchetoeu/jscript/utils/interop/ExposeTarget.java (100%) rename src/{ => java}/me/topchetoeu/jscript/utils/interop/ExposeType.java (100%) rename src/{ => java}/me/topchetoeu/jscript/utils/interop/NativeWrapperProvider.java (100%) rename src/{ => java}/me/topchetoeu/jscript/utils/interop/OnWrapperInit.java (100%) rename src/{ => java}/me/topchetoeu/jscript/utils/interop/WrapperName.java (100%) rename src/{ => java}/me/topchetoeu/jscript/utils/mapping/SourceMap.java (100%) rename src/{ => java}/me/topchetoeu/jscript/utils/modules/Module.java (100%) rename src/{ => java}/me/topchetoeu/jscript/utils/modules/ModuleRepo.java (100%) rename src/{ => java}/me/topchetoeu/jscript/utils/modules/RootModuleRepo.java (100%) rename src/{ => java}/me/topchetoeu/jscript/utils/modules/SourceModule.java (100%) rename src/{ => java}/me/topchetoeu/jscript/utils/permissions/Permission.java (100%) rename src/{ => java}/me/topchetoeu/jscript/utils/permissions/PermissionsManager.java (100%) rename src/{ => java}/me/topchetoeu/jscript/utils/permissions/PermissionsProvider.java (100%) diff --git a/.gitignore b/.gitignore index 1e780dc..f76b289 100644 --- a/.gitignore +++ b/.gitignore @@ -17,3 +17,4 @@ !/build.js !/LICENSE !/README.md +!/?*.gradle \ No newline at end of file diff --git a/build.gradle b/build.gradle new file mode 100644 index 0000000..cd5c3cc --- /dev/null +++ b/build.gradle @@ -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' +} diff --git a/settings.gradle b/settings.gradle new file mode 100644 index 0000000..8db4951 --- /dev/null +++ b/settings.gradle @@ -0,0 +1 @@ +rootProject.name = 'jscript' \ No newline at end of file diff --git a/src/me/topchetoeu/jscript/utils/assets/debugger/favicon.png b/src/assets/debugger/favicon.png similarity index 100% rename from src/me/topchetoeu/jscript/utils/assets/debugger/favicon.png rename to src/assets/debugger/favicon.png diff --git a/src/me/topchetoeu/jscript/utils/assets/debugger/index.html b/src/assets/debugger/index.html similarity index 100% rename from src/me/topchetoeu/jscript/utils/assets/debugger/index.html rename to src/assets/debugger/index.html diff --git a/src/me/topchetoeu/jscript/utils/assets/debugger/protocol.json b/src/assets/debugger/protocol.json similarity index 100% rename from src/me/topchetoeu/jscript/utils/assets/debugger/protocol.json rename to src/assets/debugger/protocol.json diff --git a/src/me/topchetoeu/jscript/common/Buffer.java b/src/java/me/topchetoeu/jscript/common/Buffer.java similarity index 100% rename from src/me/topchetoeu/jscript/common/Buffer.java rename to src/java/me/topchetoeu/jscript/common/Buffer.java diff --git a/src/me/topchetoeu/jscript/common/Filename.java b/src/java/me/topchetoeu/jscript/common/Filename.java similarity index 100% rename from src/me/topchetoeu/jscript/common/Filename.java rename to src/java/me/topchetoeu/jscript/common/Filename.java diff --git a/src/me/topchetoeu/jscript/common/Location.java b/src/java/me/topchetoeu/jscript/common/Location.java similarity index 100% rename from src/me/topchetoeu/jscript/common/Location.java rename to src/java/me/topchetoeu/jscript/common/Location.java diff --git a/src/me/topchetoeu/jscript/common/Metadata.java b/src/java/me/topchetoeu/jscript/common/Metadata.java similarity index 100% rename from src/me/topchetoeu/jscript/common/Metadata.java rename to src/java/me/topchetoeu/jscript/common/Metadata.java diff --git a/src/me/topchetoeu/jscript/common/Reading.java b/src/java/me/topchetoeu/jscript/common/Reading.java similarity index 100% rename from src/me/topchetoeu/jscript/common/Reading.java rename to src/java/me/topchetoeu/jscript/common/Reading.java diff --git a/src/me/topchetoeu/jscript/common/ResultRunnable.java b/src/java/me/topchetoeu/jscript/common/ResultRunnable.java similarity index 100% rename from src/me/topchetoeu/jscript/common/ResultRunnable.java rename to src/java/me/topchetoeu/jscript/common/ResultRunnable.java diff --git a/src/me/topchetoeu/jscript/common/VLQ.java b/src/java/me/topchetoeu/jscript/common/VLQ.java similarity index 100% rename from src/me/topchetoeu/jscript/common/VLQ.java rename to src/java/me/topchetoeu/jscript/common/VLQ.java diff --git a/src/me/topchetoeu/jscript/common/events/Awaitable.java b/src/java/me/topchetoeu/jscript/common/events/Awaitable.java similarity index 100% rename from src/me/topchetoeu/jscript/common/events/Awaitable.java rename to src/java/me/topchetoeu/jscript/common/events/Awaitable.java diff --git a/src/me/topchetoeu/jscript/common/events/DataNotifier.java b/src/java/me/topchetoeu/jscript/common/events/DataNotifier.java similarity index 100% rename from src/me/topchetoeu/jscript/common/events/DataNotifier.java rename to src/java/me/topchetoeu/jscript/common/events/DataNotifier.java diff --git a/src/me/topchetoeu/jscript/common/events/Notifier.java b/src/java/me/topchetoeu/jscript/common/events/Notifier.java similarity index 100% rename from src/me/topchetoeu/jscript/common/events/Notifier.java rename to src/java/me/topchetoeu/jscript/common/events/Notifier.java diff --git a/src/me/topchetoeu/jscript/common/json/JSON.java b/src/java/me/topchetoeu/jscript/common/json/JSON.java similarity index 100% rename from src/me/topchetoeu/jscript/common/json/JSON.java rename to src/java/me/topchetoeu/jscript/common/json/JSON.java diff --git a/src/me/topchetoeu/jscript/common/json/JSONElement.java b/src/java/me/topchetoeu/jscript/common/json/JSONElement.java similarity index 100% rename from src/me/topchetoeu/jscript/common/json/JSONElement.java rename to src/java/me/topchetoeu/jscript/common/json/JSONElement.java diff --git a/src/me/topchetoeu/jscript/common/json/JSONList.java b/src/java/me/topchetoeu/jscript/common/json/JSONList.java similarity index 100% rename from src/me/topchetoeu/jscript/common/json/JSONList.java rename to src/java/me/topchetoeu/jscript/common/json/JSONList.java diff --git a/src/me/topchetoeu/jscript/common/json/JSONMap.java b/src/java/me/topchetoeu/jscript/common/json/JSONMap.java similarity index 100% rename from src/me/topchetoeu/jscript/common/json/JSONMap.java rename to src/java/me/topchetoeu/jscript/common/json/JSONMap.java diff --git a/src/me/topchetoeu/jscript/core/compilation/AssignableStatement.java b/src/java/me/topchetoeu/jscript/core/compilation/AssignableStatement.java similarity index 100% rename from src/me/topchetoeu/jscript/core/compilation/AssignableStatement.java rename to src/java/me/topchetoeu/jscript/core/compilation/AssignableStatement.java diff --git a/src/me/topchetoeu/jscript/core/compilation/CalculateResult.java b/src/java/me/topchetoeu/jscript/core/compilation/CalculateResult.java similarity index 100% rename from src/me/topchetoeu/jscript/core/compilation/CalculateResult.java rename to src/java/me/topchetoeu/jscript/core/compilation/CalculateResult.java diff --git a/src/me/topchetoeu/jscript/core/compilation/CompileTarget.java b/src/java/me/topchetoeu/jscript/core/compilation/CompileTarget.java similarity index 100% rename from src/me/topchetoeu/jscript/core/compilation/CompileTarget.java rename to src/java/me/topchetoeu/jscript/core/compilation/CompileTarget.java diff --git a/src/me/topchetoeu/jscript/core/compilation/CompoundStatement.java b/src/java/me/topchetoeu/jscript/core/compilation/CompoundStatement.java similarity index 100% rename from src/me/topchetoeu/jscript/core/compilation/CompoundStatement.java rename to src/java/me/topchetoeu/jscript/core/compilation/CompoundStatement.java diff --git a/src/me/topchetoeu/jscript/core/compilation/FunctionBody.java b/src/java/me/topchetoeu/jscript/core/compilation/FunctionBody.java similarity index 100% rename from src/me/topchetoeu/jscript/core/compilation/FunctionBody.java rename to src/java/me/topchetoeu/jscript/core/compilation/FunctionBody.java diff --git a/src/me/topchetoeu/jscript/core/compilation/Instruction.java b/src/java/me/topchetoeu/jscript/core/compilation/Instruction.java similarity index 100% rename from src/me/topchetoeu/jscript/core/compilation/Instruction.java rename to src/java/me/topchetoeu/jscript/core/compilation/Instruction.java diff --git a/src/me/topchetoeu/jscript/core/compilation/Statement.java b/src/java/me/topchetoeu/jscript/core/compilation/Statement.java similarity index 100% rename from src/me/topchetoeu/jscript/core/compilation/Statement.java rename to src/java/me/topchetoeu/jscript/core/compilation/Statement.java diff --git a/src/me/topchetoeu/jscript/core/compilation/ThrowSyntaxStatement.java b/src/java/me/topchetoeu/jscript/core/compilation/ThrowSyntaxStatement.java similarity index 100% rename from src/me/topchetoeu/jscript/core/compilation/ThrowSyntaxStatement.java rename to src/java/me/topchetoeu/jscript/core/compilation/ThrowSyntaxStatement.java diff --git a/src/me/topchetoeu/jscript/core/compilation/VariableDeclareStatement.java b/src/java/me/topchetoeu/jscript/core/compilation/VariableDeclareStatement.java similarity index 100% rename from src/me/topchetoeu/jscript/core/compilation/VariableDeclareStatement.java rename to src/java/me/topchetoeu/jscript/core/compilation/VariableDeclareStatement.java diff --git a/src/me/topchetoeu/jscript/core/compilation/control/BreakStatement.java b/src/java/me/topchetoeu/jscript/core/compilation/control/BreakStatement.java similarity index 100% rename from src/me/topchetoeu/jscript/core/compilation/control/BreakStatement.java rename to src/java/me/topchetoeu/jscript/core/compilation/control/BreakStatement.java diff --git a/src/me/topchetoeu/jscript/core/compilation/control/ContinueStatement.java b/src/java/me/topchetoeu/jscript/core/compilation/control/ContinueStatement.java similarity index 100% rename from src/me/topchetoeu/jscript/core/compilation/control/ContinueStatement.java rename to src/java/me/topchetoeu/jscript/core/compilation/control/ContinueStatement.java diff --git a/src/me/topchetoeu/jscript/core/compilation/control/DebugStatement.java b/src/java/me/topchetoeu/jscript/core/compilation/control/DebugStatement.java similarity index 100% rename from src/me/topchetoeu/jscript/core/compilation/control/DebugStatement.java rename to src/java/me/topchetoeu/jscript/core/compilation/control/DebugStatement.java diff --git a/src/me/topchetoeu/jscript/core/compilation/control/DeleteStatement.java b/src/java/me/topchetoeu/jscript/core/compilation/control/DeleteStatement.java similarity index 100% rename from src/me/topchetoeu/jscript/core/compilation/control/DeleteStatement.java rename to src/java/me/topchetoeu/jscript/core/compilation/control/DeleteStatement.java diff --git a/src/me/topchetoeu/jscript/core/compilation/control/DoWhileStatement.java b/src/java/me/topchetoeu/jscript/core/compilation/control/DoWhileStatement.java similarity index 100% rename from src/me/topchetoeu/jscript/core/compilation/control/DoWhileStatement.java rename to src/java/me/topchetoeu/jscript/core/compilation/control/DoWhileStatement.java diff --git a/src/me/topchetoeu/jscript/core/compilation/control/ForInStatement.java b/src/java/me/topchetoeu/jscript/core/compilation/control/ForInStatement.java similarity index 100% rename from src/me/topchetoeu/jscript/core/compilation/control/ForInStatement.java rename to src/java/me/topchetoeu/jscript/core/compilation/control/ForInStatement.java diff --git a/src/me/topchetoeu/jscript/core/compilation/control/ForStatement.java b/src/java/me/topchetoeu/jscript/core/compilation/control/ForStatement.java similarity index 100% rename from src/me/topchetoeu/jscript/core/compilation/control/ForStatement.java rename to src/java/me/topchetoeu/jscript/core/compilation/control/ForStatement.java diff --git a/src/me/topchetoeu/jscript/core/compilation/control/IfStatement.java b/src/java/me/topchetoeu/jscript/core/compilation/control/IfStatement.java similarity index 100% rename from src/me/topchetoeu/jscript/core/compilation/control/IfStatement.java rename to src/java/me/topchetoeu/jscript/core/compilation/control/IfStatement.java diff --git a/src/me/topchetoeu/jscript/core/compilation/control/ReturnStatement.java b/src/java/me/topchetoeu/jscript/core/compilation/control/ReturnStatement.java similarity index 100% rename from src/me/topchetoeu/jscript/core/compilation/control/ReturnStatement.java rename to src/java/me/topchetoeu/jscript/core/compilation/control/ReturnStatement.java diff --git a/src/me/topchetoeu/jscript/core/compilation/control/SwitchStatement.java b/src/java/me/topchetoeu/jscript/core/compilation/control/SwitchStatement.java similarity index 100% rename from src/me/topchetoeu/jscript/core/compilation/control/SwitchStatement.java rename to src/java/me/topchetoeu/jscript/core/compilation/control/SwitchStatement.java diff --git a/src/me/topchetoeu/jscript/core/compilation/control/ThrowStatement.java b/src/java/me/topchetoeu/jscript/core/compilation/control/ThrowStatement.java similarity index 100% rename from src/me/topchetoeu/jscript/core/compilation/control/ThrowStatement.java rename to src/java/me/topchetoeu/jscript/core/compilation/control/ThrowStatement.java diff --git a/src/me/topchetoeu/jscript/core/compilation/control/TryStatement.java b/src/java/me/topchetoeu/jscript/core/compilation/control/TryStatement.java similarity index 100% rename from src/me/topchetoeu/jscript/core/compilation/control/TryStatement.java rename to src/java/me/topchetoeu/jscript/core/compilation/control/TryStatement.java diff --git a/src/me/topchetoeu/jscript/core/compilation/control/WhileStatement.java b/src/java/me/topchetoeu/jscript/core/compilation/control/WhileStatement.java similarity index 100% rename from src/me/topchetoeu/jscript/core/compilation/control/WhileStatement.java rename to src/java/me/topchetoeu/jscript/core/compilation/control/WhileStatement.java diff --git a/src/me/topchetoeu/jscript/core/compilation/values/ArrayStatement.java b/src/java/me/topchetoeu/jscript/core/compilation/values/ArrayStatement.java similarity index 100% rename from src/me/topchetoeu/jscript/core/compilation/values/ArrayStatement.java rename to src/java/me/topchetoeu/jscript/core/compilation/values/ArrayStatement.java diff --git a/src/me/topchetoeu/jscript/core/compilation/values/CallStatement.java b/src/java/me/topchetoeu/jscript/core/compilation/values/CallStatement.java similarity index 100% rename from src/me/topchetoeu/jscript/core/compilation/values/CallStatement.java rename to src/java/me/topchetoeu/jscript/core/compilation/values/CallStatement.java diff --git a/src/me/topchetoeu/jscript/core/compilation/values/ChangeStatement.java b/src/java/me/topchetoeu/jscript/core/compilation/values/ChangeStatement.java similarity index 100% rename from src/me/topchetoeu/jscript/core/compilation/values/ChangeStatement.java rename to src/java/me/topchetoeu/jscript/core/compilation/values/ChangeStatement.java diff --git a/src/me/topchetoeu/jscript/core/compilation/values/ConstantStatement.java b/src/java/me/topchetoeu/jscript/core/compilation/values/ConstantStatement.java similarity index 100% rename from src/me/topchetoeu/jscript/core/compilation/values/ConstantStatement.java rename to src/java/me/topchetoeu/jscript/core/compilation/values/ConstantStatement.java diff --git a/src/me/topchetoeu/jscript/core/compilation/values/DiscardStatement.java b/src/java/me/topchetoeu/jscript/core/compilation/values/DiscardStatement.java similarity index 100% rename from src/me/topchetoeu/jscript/core/compilation/values/DiscardStatement.java rename to src/java/me/topchetoeu/jscript/core/compilation/values/DiscardStatement.java diff --git a/src/me/topchetoeu/jscript/core/compilation/values/FunctionStatement.java b/src/java/me/topchetoeu/jscript/core/compilation/values/FunctionStatement.java similarity index 100% rename from src/me/topchetoeu/jscript/core/compilation/values/FunctionStatement.java rename to src/java/me/topchetoeu/jscript/core/compilation/values/FunctionStatement.java diff --git a/src/me/topchetoeu/jscript/core/compilation/values/GlobalThisStatement.java b/src/java/me/topchetoeu/jscript/core/compilation/values/GlobalThisStatement.java similarity index 100% rename from src/me/topchetoeu/jscript/core/compilation/values/GlobalThisStatement.java rename to src/java/me/topchetoeu/jscript/core/compilation/values/GlobalThisStatement.java diff --git a/src/me/topchetoeu/jscript/core/compilation/values/IndexAssignStatement.java b/src/java/me/topchetoeu/jscript/core/compilation/values/IndexAssignStatement.java similarity index 100% rename from src/me/topchetoeu/jscript/core/compilation/values/IndexAssignStatement.java rename to src/java/me/topchetoeu/jscript/core/compilation/values/IndexAssignStatement.java diff --git a/src/me/topchetoeu/jscript/core/compilation/values/IndexStatement.java b/src/java/me/topchetoeu/jscript/core/compilation/values/IndexStatement.java similarity index 100% rename from src/me/topchetoeu/jscript/core/compilation/values/IndexStatement.java rename to src/java/me/topchetoeu/jscript/core/compilation/values/IndexStatement.java diff --git a/src/me/topchetoeu/jscript/core/compilation/values/LazyAndStatement.java b/src/java/me/topchetoeu/jscript/core/compilation/values/LazyAndStatement.java similarity index 100% rename from src/me/topchetoeu/jscript/core/compilation/values/LazyAndStatement.java rename to src/java/me/topchetoeu/jscript/core/compilation/values/LazyAndStatement.java diff --git a/src/me/topchetoeu/jscript/core/compilation/values/LazyOrStatement.java b/src/java/me/topchetoeu/jscript/core/compilation/values/LazyOrStatement.java similarity index 100% rename from src/me/topchetoeu/jscript/core/compilation/values/LazyOrStatement.java rename to src/java/me/topchetoeu/jscript/core/compilation/values/LazyOrStatement.java diff --git a/src/me/topchetoeu/jscript/core/compilation/values/ObjectStatement.java b/src/java/me/topchetoeu/jscript/core/compilation/values/ObjectStatement.java similarity index 100% rename from src/me/topchetoeu/jscript/core/compilation/values/ObjectStatement.java rename to src/java/me/topchetoeu/jscript/core/compilation/values/ObjectStatement.java diff --git a/src/me/topchetoeu/jscript/core/compilation/values/OperationStatement.java b/src/java/me/topchetoeu/jscript/core/compilation/values/OperationStatement.java similarity index 100% rename from src/me/topchetoeu/jscript/core/compilation/values/OperationStatement.java rename to src/java/me/topchetoeu/jscript/core/compilation/values/OperationStatement.java diff --git a/src/me/topchetoeu/jscript/core/compilation/values/RegexStatement.java b/src/java/me/topchetoeu/jscript/core/compilation/values/RegexStatement.java similarity index 100% rename from src/me/topchetoeu/jscript/core/compilation/values/RegexStatement.java rename to src/java/me/topchetoeu/jscript/core/compilation/values/RegexStatement.java diff --git a/src/me/topchetoeu/jscript/core/compilation/values/TypeofStatement.java b/src/java/me/topchetoeu/jscript/core/compilation/values/TypeofStatement.java similarity index 100% rename from src/me/topchetoeu/jscript/core/compilation/values/TypeofStatement.java rename to src/java/me/topchetoeu/jscript/core/compilation/values/TypeofStatement.java diff --git a/src/me/topchetoeu/jscript/core/compilation/values/VariableAssignStatement.java b/src/java/me/topchetoeu/jscript/core/compilation/values/VariableAssignStatement.java similarity index 100% rename from src/me/topchetoeu/jscript/core/compilation/values/VariableAssignStatement.java rename to src/java/me/topchetoeu/jscript/core/compilation/values/VariableAssignStatement.java diff --git a/src/me/topchetoeu/jscript/core/compilation/values/VariableIndexStatement.java b/src/java/me/topchetoeu/jscript/core/compilation/values/VariableIndexStatement.java similarity index 100% rename from src/me/topchetoeu/jscript/core/compilation/values/VariableIndexStatement.java rename to src/java/me/topchetoeu/jscript/core/compilation/values/VariableIndexStatement.java diff --git a/src/me/topchetoeu/jscript/core/compilation/values/VariableStatement.java b/src/java/me/topchetoeu/jscript/core/compilation/values/VariableStatement.java similarity index 100% rename from src/me/topchetoeu/jscript/core/compilation/values/VariableStatement.java rename to src/java/me/topchetoeu/jscript/core/compilation/values/VariableStatement.java diff --git a/src/me/topchetoeu/jscript/core/engine/Context.java b/src/java/me/topchetoeu/jscript/core/engine/Context.java similarity index 100% rename from src/me/topchetoeu/jscript/core/engine/Context.java rename to src/java/me/topchetoeu/jscript/core/engine/Context.java diff --git a/src/me/topchetoeu/jscript/core/engine/Engine.java b/src/java/me/topchetoeu/jscript/core/engine/Engine.java similarity index 100% rename from src/me/topchetoeu/jscript/core/engine/Engine.java rename to src/java/me/topchetoeu/jscript/core/engine/Engine.java diff --git a/src/me/topchetoeu/jscript/core/engine/Environment.java b/src/java/me/topchetoeu/jscript/core/engine/Environment.java similarity index 100% rename from src/me/topchetoeu/jscript/core/engine/Environment.java rename to src/java/me/topchetoeu/jscript/core/engine/Environment.java diff --git a/src/me/topchetoeu/jscript/core/engine/EventLoop.java b/src/java/me/topchetoeu/jscript/core/engine/EventLoop.java similarity index 100% rename from src/me/topchetoeu/jscript/core/engine/EventLoop.java rename to src/java/me/topchetoeu/jscript/core/engine/EventLoop.java diff --git a/src/me/topchetoeu/jscript/core/engine/Extensions.java b/src/java/me/topchetoeu/jscript/core/engine/Extensions.java similarity index 100% rename from src/me/topchetoeu/jscript/core/engine/Extensions.java rename to src/java/me/topchetoeu/jscript/core/engine/Extensions.java diff --git a/src/me/topchetoeu/jscript/core/engine/Operation.java b/src/java/me/topchetoeu/jscript/core/engine/Operation.java similarity index 100% rename from src/me/topchetoeu/jscript/core/engine/Operation.java rename to src/java/me/topchetoeu/jscript/core/engine/Operation.java diff --git a/src/me/topchetoeu/jscript/core/engine/WrapperProvider.java b/src/java/me/topchetoeu/jscript/core/engine/WrapperProvider.java similarity index 100% rename from src/me/topchetoeu/jscript/core/engine/WrapperProvider.java rename to src/java/me/topchetoeu/jscript/core/engine/WrapperProvider.java diff --git a/src/me/topchetoeu/jscript/core/engine/debug/DebugContext.java b/src/java/me/topchetoeu/jscript/core/engine/debug/DebugContext.java similarity index 100% rename from src/me/topchetoeu/jscript/core/engine/debug/DebugContext.java rename to src/java/me/topchetoeu/jscript/core/engine/debug/DebugContext.java diff --git a/src/me/topchetoeu/jscript/core/engine/debug/DebugController.java b/src/java/me/topchetoeu/jscript/core/engine/debug/DebugController.java similarity index 100% rename from src/me/topchetoeu/jscript/core/engine/debug/DebugController.java rename to src/java/me/topchetoeu/jscript/core/engine/debug/DebugController.java diff --git a/src/me/topchetoeu/jscript/core/engine/frame/CodeFrame.java b/src/java/me/topchetoeu/jscript/core/engine/frame/CodeFrame.java similarity index 100% rename from src/me/topchetoeu/jscript/core/engine/frame/CodeFrame.java rename to src/java/me/topchetoeu/jscript/core/engine/frame/CodeFrame.java diff --git a/src/me/topchetoeu/jscript/core/engine/frame/ConvertHint.java b/src/java/me/topchetoeu/jscript/core/engine/frame/ConvertHint.java similarity index 100% rename from src/me/topchetoeu/jscript/core/engine/frame/ConvertHint.java rename to src/java/me/topchetoeu/jscript/core/engine/frame/ConvertHint.java diff --git a/src/me/topchetoeu/jscript/core/engine/frame/Runners.java b/src/java/me/topchetoeu/jscript/core/engine/frame/Runners.java similarity index 100% rename from src/me/topchetoeu/jscript/core/engine/frame/Runners.java rename to src/java/me/topchetoeu/jscript/core/engine/frame/Runners.java diff --git a/src/me/topchetoeu/jscript/core/engine/scope/GlobalScope.java b/src/java/me/topchetoeu/jscript/core/engine/scope/GlobalScope.java similarity index 100% rename from src/me/topchetoeu/jscript/core/engine/scope/GlobalScope.java rename to src/java/me/topchetoeu/jscript/core/engine/scope/GlobalScope.java diff --git a/src/me/topchetoeu/jscript/core/engine/scope/LocalScope.java b/src/java/me/topchetoeu/jscript/core/engine/scope/LocalScope.java similarity index 100% rename from src/me/topchetoeu/jscript/core/engine/scope/LocalScope.java rename to src/java/me/topchetoeu/jscript/core/engine/scope/LocalScope.java diff --git a/src/me/topchetoeu/jscript/core/engine/scope/LocalScopeRecord.java b/src/java/me/topchetoeu/jscript/core/engine/scope/LocalScopeRecord.java similarity index 100% rename from src/me/topchetoeu/jscript/core/engine/scope/LocalScopeRecord.java rename to src/java/me/topchetoeu/jscript/core/engine/scope/LocalScopeRecord.java diff --git a/src/me/topchetoeu/jscript/core/engine/scope/ScopeRecord.java b/src/java/me/topchetoeu/jscript/core/engine/scope/ScopeRecord.java similarity index 100% rename from src/me/topchetoeu/jscript/core/engine/scope/ScopeRecord.java rename to src/java/me/topchetoeu/jscript/core/engine/scope/ScopeRecord.java diff --git a/src/me/topchetoeu/jscript/core/engine/scope/ValueVariable.java b/src/java/me/topchetoeu/jscript/core/engine/scope/ValueVariable.java similarity index 100% rename from src/me/topchetoeu/jscript/core/engine/scope/ValueVariable.java rename to src/java/me/topchetoeu/jscript/core/engine/scope/ValueVariable.java diff --git a/src/me/topchetoeu/jscript/core/engine/scope/Variable.java b/src/java/me/topchetoeu/jscript/core/engine/scope/Variable.java similarity index 100% rename from src/me/topchetoeu/jscript/core/engine/scope/Variable.java rename to src/java/me/topchetoeu/jscript/core/engine/scope/Variable.java diff --git a/src/me/topchetoeu/jscript/core/engine/values/ArrayValue.java b/src/java/me/topchetoeu/jscript/core/engine/values/ArrayValue.java similarity index 100% rename from src/me/topchetoeu/jscript/core/engine/values/ArrayValue.java rename to src/java/me/topchetoeu/jscript/core/engine/values/ArrayValue.java diff --git a/src/me/topchetoeu/jscript/core/engine/values/CodeFunction.java b/src/java/me/topchetoeu/jscript/core/engine/values/CodeFunction.java similarity index 100% rename from src/me/topchetoeu/jscript/core/engine/values/CodeFunction.java rename to src/java/me/topchetoeu/jscript/core/engine/values/CodeFunction.java diff --git a/src/me/topchetoeu/jscript/core/engine/values/FunctionValue.java b/src/java/me/topchetoeu/jscript/core/engine/values/FunctionValue.java similarity index 100% rename from src/me/topchetoeu/jscript/core/engine/values/FunctionValue.java rename to src/java/me/topchetoeu/jscript/core/engine/values/FunctionValue.java diff --git a/src/me/topchetoeu/jscript/core/engine/values/NativeFunction.java b/src/java/me/topchetoeu/jscript/core/engine/values/NativeFunction.java similarity index 100% rename from src/me/topchetoeu/jscript/core/engine/values/NativeFunction.java rename to src/java/me/topchetoeu/jscript/core/engine/values/NativeFunction.java diff --git a/src/me/topchetoeu/jscript/core/engine/values/NativeWrapper.java b/src/java/me/topchetoeu/jscript/core/engine/values/NativeWrapper.java similarity index 100% rename from src/me/topchetoeu/jscript/core/engine/values/NativeWrapper.java rename to src/java/me/topchetoeu/jscript/core/engine/values/NativeWrapper.java diff --git a/src/me/topchetoeu/jscript/core/engine/values/ObjectValue.java b/src/java/me/topchetoeu/jscript/core/engine/values/ObjectValue.java similarity index 100% rename from src/me/topchetoeu/jscript/core/engine/values/ObjectValue.java rename to src/java/me/topchetoeu/jscript/core/engine/values/ObjectValue.java diff --git a/src/me/topchetoeu/jscript/core/engine/values/ScopeValue.java b/src/java/me/topchetoeu/jscript/core/engine/values/ScopeValue.java similarity index 100% rename from src/me/topchetoeu/jscript/core/engine/values/ScopeValue.java rename to src/java/me/topchetoeu/jscript/core/engine/values/ScopeValue.java diff --git a/src/me/topchetoeu/jscript/core/engine/values/Symbol.java b/src/java/me/topchetoeu/jscript/core/engine/values/Symbol.java similarity index 100% rename from src/me/topchetoeu/jscript/core/engine/values/Symbol.java rename to src/java/me/topchetoeu/jscript/core/engine/values/Symbol.java diff --git a/src/me/topchetoeu/jscript/core/engine/values/Values.java b/src/java/me/topchetoeu/jscript/core/engine/values/Values.java similarity index 100% rename from src/me/topchetoeu/jscript/core/engine/values/Values.java rename to src/java/me/topchetoeu/jscript/core/engine/values/Values.java diff --git a/src/me/topchetoeu/jscript/core/exceptions/ConvertException.java b/src/java/me/topchetoeu/jscript/core/exceptions/ConvertException.java similarity index 100% rename from src/me/topchetoeu/jscript/core/exceptions/ConvertException.java rename to src/java/me/topchetoeu/jscript/core/exceptions/ConvertException.java diff --git a/src/me/topchetoeu/jscript/core/exceptions/EngineException.java b/src/java/me/topchetoeu/jscript/core/exceptions/EngineException.java similarity index 100% rename from src/me/topchetoeu/jscript/core/exceptions/EngineException.java rename to src/java/me/topchetoeu/jscript/core/exceptions/EngineException.java diff --git a/src/me/topchetoeu/jscript/core/exceptions/InterruptException.java b/src/java/me/topchetoeu/jscript/core/exceptions/InterruptException.java similarity index 100% rename from src/me/topchetoeu/jscript/core/exceptions/InterruptException.java rename to src/java/me/topchetoeu/jscript/core/exceptions/InterruptException.java diff --git a/src/me/topchetoeu/jscript/core/exceptions/SyntaxException.java b/src/java/me/topchetoeu/jscript/core/exceptions/SyntaxException.java similarity index 100% rename from src/me/topchetoeu/jscript/core/exceptions/SyntaxException.java rename to src/java/me/topchetoeu/jscript/core/exceptions/SyntaxException.java diff --git a/src/me/topchetoeu/jscript/core/parsing/Operator.java b/src/java/me/topchetoeu/jscript/core/parsing/Operator.java similarity index 100% rename from src/me/topchetoeu/jscript/core/parsing/Operator.java rename to src/java/me/topchetoeu/jscript/core/parsing/Operator.java diff --git a/src/me/topchetoeu/jscript/core/parsing/ParseRes.java b/src/java/me/topchetoeu/jscript/core/parsing/ParseRes.java similarity index 100% rename from src/me/topchetoeu/jscript/core/parsing/ParseRes.java rename to src/java/me/topchetoeu/jscript/core/parsing/ParseRes.java diff --git a/src/me/topchetoeu/jscript/core/parsing/Parsing.java b/src/java/me/topchetoeu/jscript/core/parsing/Parsing.java similarity index 100% rename from src/me/topchetoeu/jscript/core/parsing/Parsing.java rename to src/java/me/topchetoeu/jscript/core/parsing/Parsing.java diff --git a/src/me/topchetoeu/jscript/core/parsing/RawToken.java b/src/java/me/topchetoeu/jscript/core/parsing/RawToken.java similarity index 100% rename from src/me/topchetoeu/jscript/core/parsing/RawToken.java rename to src/java/me/topchetoeu/jscript/core/parsing/RawToken.java diff --git a/src/me/topchetoeu/jscript/core/parsing/TestRes.java b/src/java/me/topchetoeu/jscript/core/parsing/TestRes.java similarity index 100% rename from src/me/topchetoeu/jscript/core/parsing/TestRes.java rename to src/java/me/topchetoeu/jscript/core/parsing/TestRes.java diff --git a/src/me/topchetoeu/jscript/core/parsing/Token.java b/src/java/me/topchetoeu/jscript/core/parsing/Token.java similarity index 100% rename from src/me/topchetoeu/jscript/core/parsing/Token.java rename to src/java/me/topchetoeu/jscript/core/parsing/Token.java diff --git a/src/me/topchetoeu/jscript/core/parsing/TokenType.java b/src/java/me/topchetoeu/jscript/core/parsing/TokenType.java similarity index 100% rename from src/me/topchetoeu/jscript/core/parsing/TokenType.java rename to src/java/me/topchetoeu/jscript/core/parsing/TokenType.java diff --git a/src/me/topchetoeu/jscript/lib/ArrayLib.java b/src/java/me/topchetoeu/jscript/lib/ArrayLib.java similarity index 100% rename from src/me/topchetoeu/jscript/lib/ArrayLib.java rename to src/java/me/topchetoeu/jscript/lib/ArrayLib.java diff --git a/src/me/topchetoeu/jscript/lib/AsyncFunctionLib.java b/src/java/me/topchetoeu/jscript/lib/AsyncFunctionLib.java similarity index 100% rename from src/me/topchetoeu/jscript/lib/AsyncFunctionLib.java rename to src/java/me/topchetoeu/jscript/lib/AsyncFunctionLib.java diff --git a/src/me/topchetoeu/jscript/lib/AsyncGeneratorFunctionLib.java b/src/java/me/topchetoeu/jscript/lib/AsyncGeneratorFunctionLib.java similarity index 100% rename from src/me/topchetoeu/jscript/lib/AsyncGeneratorFunctionLib.java rename to src/java/me/topchetoeu/jscript/lib/AsyncGeneratorFunctionLib.java diff --git a/src/me/topchetoeu/jscript/lib/AsyncGeneratorLib.java b/src/java/me/topchetoeu/jscript/lib/AsyncGeneratorLib.java similarity index 100% rename from src/me/topchetoeu/jscript/lib/AsyncGeneratorLib.java rename to src/java/me/topchetoeu/jscript/lib/AsyncGeneratorLib.java diff --git a/src/me/topchetoeu/jscript/lib/BooleanLib.java b/src/java/me/topchetoeu/jscript/lib/BooleanLib.java similarity index 100% rename from src/me/topchetoeu/jscript/lib/BooleanLib.java rename to src/java/me/topchetoeu/jscript/lib/BooleanLib.java diff --git a/src/me/topchetoeu/jscript/lib/DateLib.java b/src/java/me/topchetoeu/jscript/lib/DateLib.java similarity index 100% rename from src/me/topchetoeu/jscript/lib/DateLib.java rename to src/java/me/topchetoeu/jscript/lib/DateLib.java diff --git a/src/me/topchetoeu/jscript/lib/EncodingLib.java b/src/java/me/topchetoeu/jscript/lib/EncodingLib.java similarity index 100% rename from src/me/topchetoeu/jscript/lib/EncodingLib.java rename to src/java/me/topchetoeu/jscript/lib/EncodingLib.java diff --git a/src/me/topchetoeu/jscript/lib/EnvironmentLib.java b/src/java/me/topchetoeu/jscript/lib/EnvironmentLib.java similarity index 100% rename from src/me/topchetoeu/jscript/lib/EnvironmentLib.java rename to src/java/me/topchetoeu/jscript/lib/EnvironmentLib.java diff --git a/src/me/topchetoeu/jscript/lib/ErrorLib.java b/src/java/me/topchetoeu/jscript/lib/ErrorLib.java similarity index 100% rename from src/me/topchetoeu/jscript/lib/ErrorLib.java rename to src/java/me/topchetoeu/jscript/lib/ErrorLib.java diff --git a/src/me/topchetoeu/jscript/lib/FileLib.java b/src/java/me/topchetoeu/jscript/lib/FileLib.java similarity index 100% rename from src/me/topchetoeu/jscript/lib/FileLib.java rename to src/java/me/topchetoeu/jscript/lib/FileLib.java diff --git a/src/me/topchetoeu/jscript/lib/FilesystemLib.java b/src/java/me/topchetoeu/jscript/lib/FilesystemLib.java similarity index 100% rename from src/me/topchetoeu/jscript/lib/FilesystemLib.java rename to src/java/me/topchetoeu/jscript/lib/FilesystemLib.java diff --git a/src/me/topchetoeu/jscript/lib/FunctionLib.java b/src/java/me/topchetoeu/jscript/lib/FunctionLib.java similarity index 100% rename from src/me/topchetoeu/jscript/lib/FunctionLib.java rename to src/java/me/topchetoeu/jscript/lib/FunctionLib.java diff --git a/src/me/topchetoeu/jscript/lib/GeneratorFunctionLib.java b/src/java/me/topchetoeu/jscript/lib/GeneratorFunctionLib.java similarity index 100% rename from src/me/topchetoeu/jscript/lib/GeneratorFunctionLib.java rename to src/java/me/topchetoeu/jscript/lib/GeneratorFunctionLib.java diff --git a/src/me/topchetoeu/jscript/lib/GeneratorLib.java b/src/java/me/topchetoeu/jscript/lib/GeneratorLib.java similarity index 100% rename from src/me/topchetoeu/jscript/lib/GeneratorLib.java rename to src/java/me/topchetoeu/jscript/lib/GeneratorLib.java diff --git a/src/me/topchetoeu/jscript/lib/Internals.java b/src/java/me/topchetoeu/jscript/lib/Internals.java similarity index 100% rename from src/me/topchetoeu/jscript/lib/Internals.java rename to src/java/me/topchetoeu/jscript/lib/Internals.java diff --git a/src/me/topchetoeu/jscript/lib/JSONLib.java b/src/java/me/topchetoeu/jscript/lib/JSONLib.java similarity index 100% rename from src/me/topchetoeu/jscript/lib/JSONLib.java rename to src/java/me/topchetoeu/jscript/lib/JSONLib.java diff --git a/src/me/topchetoeu/jscript/lib/MapLib.java b/src/java/me/topchetoeu/jscript/lib/MapLib.java similarity index 100% rename from src/me/topchetoeu/jscript/lib/MapLib.java rename to src/java/me/topchetoeu/jscript/lib/MapLib.java diff --git a/src/me/topchetoeu/jscript/lib/MathLib.java b/src/java/me/topchetoeu/jscript/lib/MathLib.java similarity index 100% rename from src/me/topchetoeu/jscript/lib/MathLib.java rename to src/java/me/topchetoeu/jscript/lib/MathLib.java diff --git a/src/me/topchetoeu/jscript/lib/NumberLib.java b/src/java/me/topchetoeu/jscript/lib/NumberLib.java similarity index 100% rename from src/me/topchetoeu/jscript/lib/NumberLib.java rename to src/java/me/topchetoeu/jscript/lib/NumberLib.java diff --git a/src/me/topchetoeu/jscript/lib/ObjectLib.java b/src/java/me/topchetoeu/jscript/lib/ObjectLib.java similarity index 100% rename from src/me/topchetoeu/jscript/lib/ObjectLib.java rename to src/java/me/topchetoeu/jscript/lib/ObjectLib.java diff --git a/src/me/topchetoeu/jscript/lib/PromiseLib.java b/src/java/me/topchetoeu/jscript/lib/PromiseLib.java similarity index 100% rename from src/me/topchetoeu/jscript/lib/PromiseLib.java rename to src/java/me/topchetoeu/jscript/lib/PromiseLib.java diff --git a/src/me/topchetoeu/jscript/lib/RangeErrorLib.java b/src/java/me/topchetoeu/jscript/lib/RangeErrorLib.java similarity index 100% rename from src/me/topchetoeu/jscript/lib/RangeErrorLib.java rename to src/java/me/topchetoeu/jscript/lib/RangeErrorLib.java diff --git a/src/me/topchetoeu/jscript/lib/RegExpLib.java b/src/java/me/topchetoeu/jscript/lib/RegExpLib.java similarity index 100% rename from src/me/topchetoeu/jscript/lib/RegExpLib.java rename to src/java/me/topchetoeu/jscript/lib/RegExpLib.java diff --git a/src/me/topchetoeu/jscript/lib/SetLib.java b/src/java/me/topchetoeu/jscript/lib/SetLib.java similarity index 100% rename from src/me/topchetoeu/jscript/lib/SetLib.java rename to src/java/me/topchetoeu/jscript/lib/SetLib.java diff --git a/src/me/topchetoeu/jscript/lib/StringLib.java b/src/java/me/topchetoeu/jscript/lib/StringLib.java similarity index 100% rename from src/me/topchetoeu/jscript/lib/StringLib.java rename to src/java/me/topchetoeu/jscript/lib/StringLib.java diff --git a/src/me/topchetoeu/jscript/lib/SymbolLib.java b/src/java/me/topchetoeu/jscript/lib/SymbolLib.java similarity index 100% rename from src/me/topchetoeu/jscript/lib/SymbolLib.java rename to src/java/me/topchetoeu/jscript/lib/SymbolLib.java diff --git a/src/me/topchetoeu/jscript/lib/SyntaxErrorLib.java b/src/java/me/topchetoeu/jscript/lib/SyntaxErrorLib.java similarity index 100% rename from src/me/topchetoeu/jscript/lib/SyntaxErrorLib.java rename to src/java/me/topchetoeu/jscript/lib/SyntaxErrorLib.java diff --git a/src/me/topchetoeu/jscript/lib/TypeErrorLib.java b/src/java/me/topchetoeu/jscript/lib/TypeErrorLib.java similarity index 100% rename from src/me/topchetoeu/jscript/lib/TypeErrorLib.java rename to src/java/me/topchetoeu/jscript/lib/TypeErrorLib.java diff --git a/src/me/topchetoeu/jscript/utils/JScriptRepl.java b/src/java/me/topchetoeu/jscript/utils/JScriptRepl.java similarity index 100% rename from src/me/topchetoeu/jscript/utils/JScriptRepl.java rename to src/java/me/topchetoeu/jscript/utils/JScriptRepl.java diff --git a/src/me/topchetoeu/jscript/utils/debug/DebugHandler.java b/src/java/me/topchetoeu/jscript/utils/debug/DebugHandler.java similarity index 100% rename from src/me/topchetoeu/jscript/utils/debug/DebugHandler.java rename to src/java/me/topchetoeu/jscript/utils/debug/DebugHandler.java diff --git a/src/me/topchetoeu/jscript/utils/debug/DebugServer.java b/src/java/me/topchetoeu/jscript/utils/debug/DebugServer.java similarity index 96% rename from src/me/topchetoeu/jscript/utils/debug/DebugServer.java rename to src/java/me/topchetoeu/jscript/utils/debug/DebugServer.java index 8cbb631..1bfd026 100644 --- a/src/me/topchetoeu/jscript/utils/debug/DebugServer.java +++ b/src/java/me/topchetoeu/jscript/utils/debug/DebugServer.java @@ -226,9 +226,9 @@ public class DebugServer { public DebugServer() { try { - this.favicon = Reading.resourceToStream("me/topchetoeu/jscript/utils/assets/debugger/favicon.png").readAllBytes(); - this.protocol = Reading.resourceToStream("me/topchetoeu/jscript/utils/assets/debugger/protocol.json").readAllBytes(); - this.index = Reading.resourceToString("me/topchetoeu/jscript/utils/assets/debugger/index.html") + this.favicon = Reading.resourceToStream("debugger/favicon.png").readAllBytes(); + this.protocol = Reading.resourceToStream("debugger/protocol.json").readAllBytes(); + this.index = Reading.resourceToString("debugger/index.html") .replace("${NAME}", Metadata.name()) .replace("${VERSION}", Metadata.version()) .replace("${AUTHOR}", Metadata.author()) diff --git a/src/me/topchetoeu/jscript/utils/debug/Debugger.java b/src/java/me/topchetoeu/jscript/utils/debug/Debugger.java similarity index 100% rename from src/me/topchetoeu/jscript/utils/debug/Debugger.java rename to src/java/me/topchetoeu/jscript/utils/debug/Debugger.java diff --git a/src/me/topchetoeu/jscript/utils/debug/DebuggerProvider.java b/src/java/me/topchetoeu/jscript/utils/debug/DebuggerProvider.java similarity index 100% rename from src/me/topchetoeu/jscript/utils/debug/DebuggerProvider.java rename to src/java/me/topchetoeu/jscript/utils/debug/DebuggerProvider.java diff --git a/src/me/topchetoeu/jscript/utils/debug/HttpRequest.java b/src/java/me/topchetoeu/jscript/utils/debug/HttpRequest.java similarity index 100% rename from src/me/topchetoeu/jscript/utils/debug/HttpRequest.java rename to src/java/me/topchetoeu/jscript/utils/debug/HttpRequest.java diff --git a/src/me/topchetoeu/jscript/utils/debug/SimpleDebugger.java b/src/java/me/topchetoeu/jscript/utils/debug/SimpleDebugger.java similarity index 100% rename from src/me/topchetoeu/jscript/utils/debug/SimpleDebugger.java rename to src/java/me/topchetoeu/jscript/utils/debug/SimpleDebugger.java diff --git a/src/me/topchetoeu/jscript/utils/debug/V8Error.java b/src/java/me/topchetoeu/jscript/utils/debug/V8Error.java similarity index 100% rename from src/me/topchetoeu/jscript/utils/debug/V8Error.java rename to src/java/me/topchetoeu/jscript/utils/debug/V8Error.java diff --git a/src/me/topchetoeu/jscript/utils/debug/V8Event.java b/src/java/me/topchetoeu/jscript/utils/debug/V8Event.java similarity index 100% rename from src/me/topchetoeu/jscript/utils/debug/V8Event.java rename to src/java/me/topchetoeu/jscript/utils/debug/V8Event.java diff --git a/src/me/topchetoeu/jscript/utils/debug/V8Message.java b/src/java/me/topchetoeu/jscript/utils/debug/V8Message.java similarity index 100% rename from src/me/topchetoeu/jscript/utils/debug/V8Message.java rename to src/java/me/topchetoeu/jscript/utils/debug/V8Message.java diff --git a/src/me/topchetoeu/jscript/utils/debug/V8Result.java b/src/java/me/topchetoeu/jscript/utils/debug/V8Result.java similarity index 100% rename from src/me/topchetoeu/jscript/utils/debug/V8Result.java rename to src/java/me/topchetoeu/jscript/utils/debug/V8Result.java diff --git a/src/me/topchetoeu/jscript/utils/debug/WebSocket.java b/src/java/me/topchetoeu/jscript/utils/debug/WebSocket.java similarity index 100% rename from src/me/topchetoeu/jscript/utils/debug/WebSocket.java rename to src/java/me/topchetoeu/jscript/utils/debug/WebSocket.java diff --git a/src/me/topchetoeu/jscript/utils/debug/WebSocketMessage.java b/src/java/me/topchetoeu/jscript/utils/debug/WebSocketMessage.java similarity index 100% rename from src/me/topchetoeu/jscript/utils/debug/WebSocketMessage.java rename to src/java/me/topchetoeu/jscript/utils/debug/WebSocketMessage.java diff --git a/src/me/topchetoeu/jscript/utils/filesystem/EntryType.java b/src/java/me/topchetoeu/jscript/utils/filesystem/EntryType.java similarity index 100% rename from src/me/topchetoeu/jscript/utils/filesystem/EntryType.java rename to src/java/me/topchetoeu/jscript/utils/filesystem/EntryType.java diff --git a/src/me/topchetoeu/jscript/utils/filesystem/File.java b/src/java/me/topchetoeu/jscript/utils/filesystem/File.java similarity index 100% rename from src/me/topchetoeu/jscript/utils/filesystem/File.java rename to src/java/me/topchetoeu/jscript/utils/filesystem/File.java diff --git a/src/me/topchetoeu/jscript/utils/filesystem/FileStat.java b/src/java/me/topchetoeu/jscript/utils/filesystem/FileStat.java similarity index 100% rename from src/me/topchetoeu/jscript/utils/filesystem/FileStat.java rename to src/java/me/topchetoeu/jscript/utils/filesystem/FileStat.java diff --git a/src/me/topchetoeu/jscript/utils/filesystem/Filesystem.java b/src/java/me/topchetoeu/jscript/utils/filesystem/Filesystem.java similarity index 100% rename from src/me/topchetoeu/jscript/utils/filesystem/Filesystem.java rename to src/java/me/topchetoeu/jscript/utils/filesystem/Filesystem.java diff --git a/src/me/topchetoeu/jscript/utils/filesystem/FilesystemException.java b/src/java/me/topchetoeu/jscript/utils/filesystem/FilesystemException.java similarity index 100% rename from src/me/topchetoeu/jscript/utils/filesystem/FilesystemException.java rename to src/java/me/topchetoeu/jscript/utils/filesystem/FilesystemException.java diff --git a/src/me/topchetoeu/jscript/utils/filesystem/ListFile.java b/src/java/me/topchetoeu/jscript/utils/filesystem/ListFile.java similarity index 100% rename from src/me/topchetoeu/jscript/utils/filesystem/ListFile.java rename to src/java/me/topchetoeu/jscript/utils/filesystem/ListFile.java diff --git a/src/me/topchetoeu/jscript/utils/filesystem/MemoryFile.java b/src/java/me/topchetoeu/jscript/utils/filesystem/MemoryFile.java similarity index 100% rename from src/me/topchetoeu/jscript/utils/filesystem/MemoryFile.java rename to src/java/me/topchetoeu/jscript/utils/filesystem/MemoryFile.java diff --git a/src/me/topchetoeu/jscript/utils/filesystem/MemoryFilesystem.java b/src/java/me/topchetoeu/jscript/utils/filesystem/MemoryFilesystem.java similarity index 100% rename from src/me/topchetoeu/jscript/utils/filesystem/MemoryFilesystem.java rename to src/java/me/topchetoeu/jscript/utils/filesystem/MemoryFilesystem.java diff --git a/src/me/topchetoeu/jscript/utils/filesystem/Mode.java b/src/java/me/topchetoeu/jscript/utils/filesystem/Mode.java similarity index 100% rename from src/me/topchetoeu/jscript/utils/filesystem/Mode.java rename to src/java/me/topchetoeu/jscript/utils/filesystem/Mode.java diff --git a/src/me/topchetoeu/jscript/utils/filesystem/Paths.java b/src/java/me/topchetoeu/jscript/utils/filesystem/Paths.java similarity index 100% rename from src/me/topchetoeu/jscript/utils/filesystem/Paths.java rename to src/java/me/topchetoeu/jscript/utils/filesystem/Paths.java diff --git a/src/me/topchetoeu/jscript/utils/filesystem/PhysicalFile.java b/src/java/me/topchetoeu/jscript/utils/filesystem/PhysicalFile.java similarity index 100% rename from src/me/topchetoeu/jscript/utils/filesystem/PhysicalFile.java rename to src/java/me/topchetoeu/jscript/utils/filesystem/PhysicalFile.java diff --git a/src/me/topchetoeu/jscript/utils/filesystem/PhysicalFilesystem.java b/src/java/me/topchetoeu/jscript/utils/filesystem/PhysicalFilesystem.java similarity index 100% rename from src/me/topchetoeu/jscript/utils/filesystem/PhysicalFilesystem.java rename to src/java/me/topchetoeu/jscript/utils/filesystem/PhysicalFilesystem.java diff --git a/src/me/topchetoeu/jscript/utils/filesystem/RootFilesystem.java b/src/java/me/topchetoeu/jscript/utils/filesystem/RootFilesystem.java similarity index 100% rename from src/me/topchetoeu/jscript/utils/filesystem/RootFilesystem.java rename to src/java/me/topchetoeu/jscript/utils/filesystem/RootFilesystem.java diff --git a/src/me/topchetoeu/jscript/utils/interop/Arguments.java b/src/java/me/topchetoeu/jscript/utils/interop/Arguments.java similarity index 100% rename from src/me/topchetoeu/jscript/utils/interop/Arguments.java rename to src/java/me/topchetoeu/jscript/utils/interop/Arguments.java diff --git a/src/me/topchetoeu/jscript/utils/interop/Expose.java b/src/java/me/topchetoeu/jscript/utils/interop/Expose.java similarity index 100% rename from src/me/topchetoeu/jscript/utils/interop/Expose.java rename to src/java/me/topchetoeu/jscript/utils/interop/Expose.java diff --git a/src/me/topchetoeu/jscript/utils/interop/ExposeConstructor.java b/src/java/me/topchetoeu/jscript/utils/interop/ExposeConstructor.java similarity index 100% rename from src/me/topchetoeu/jscript/utils/interop/ExposeConstructor.java rename to src/java/me/topchetoeu/jscript/utils/interop/ExposeConstructor.java diff --git a/src/me/topchetoeu/jscript/utils/interop/ExposeField.java b/src/java/me/topchetoeu/jscript/utils/interop/ExposeField.java similarity index 100% rename from src/me/topchetoeu/jscript/utils/interop/ExposeField.java rename to src/java/me/topchetoeu/jscript/utils/interop/ExposeField.java diff --git a/src/me/topchetoeu/jscript/utils/interop/ExposeTarget.java b/src/java/me/topchetoeu/jscript/utils/interop/ExposeTarget.java similarity index 100% rename from src/me/topchetoeu/jscript/utils/interop/ExposeTarget.java rename to src/java/me/topchetoeu/jscript/utils/interop/ExposeTarget.java diff --git a/src/me/topchetoeu/jscript/utils/interop/ExposeType.java b/src/java/me/topchetoeu/jscript/utils/interop/ExposeType.java similarity index 100% rename from src/me/topchetoeu/jscript/utils/interop/ExposeType.java rename to src/java/me/topchetoeu/jscript/utils/interop/ExposeType.java diff --git a/src/me/topchetoeu/jscript/utils/interop/NativeWrapperProvider.java b/src/java/me/topchetoeu/jscript/utils/interop/NativeWrapperProvider.java similarity index 100% rename from src/me/topchetoeu/jscript/utils/interop/NativeWrapperProvider.java rename to src/java/me/topchetoeu/jscript/utils/interop/NativeWrapperProvider.java diff --git a/src/me/topchetoeu/jscript/utils/interop/OnWrapperInit.java b/src/java/me/topchetoeu/jscript/utils/interop/OnWrapperInit.java similarity index 100% rename from src/me/topchetoeu/jscript/utils/interop/OnWrapperInit.java rename to src/java/me/topchetoeu/jscript/utils/interop/OnWrapperInit.java diff --git a/src/me/topchetoeu/jscript/utils/interop/WrapperName.java b/src/java/me/topchetoeu/jscript/utils/interop/WrapperName.java similarity index 100% rename from src/me/topchetoeu/jscript/utils/interop/WrapperName.java rename to src/java/me/topchetoeu/jscript/utils/interop/WrapperName.java diff --git a/src/me/topchetoeu/jscript/utils/mapping/SourceMap.java b/src/java/me/topchetoeu/jscript/utils/mapping/SourceMap.java similarity index 100% rename from src/me/topchetoeu/jscript/utils/mapping/SourceMap.java rename to src/java/me/topchetoeu/jscript/utils/mapping/SourceMap.java diff --git a/src/me/topchetoeu/jscript/utils/modules/Module.java b/src/java/me/topchetoeu/jscript/utils/modules/Module.java similarity index 100% rename from src/me/topchetoeu/jscript/utils/modules/Module.java rename to src/java/me/topchetoeu/jscript/utils/modules/Module.java diff --git a/src/me/topchetoeu/jscript/utils/modules/ModuleRepo.java b/src/java/me/topchetoeu/jscript/utils/modules/ModuleRepo.java similarity index 100% rename from src/me/topchetoeu/jscript/utils/modules/ModuleRepo.java rename to src/java/me/topchetoeu/jscript/utils/modules/ModuleRepo.java diff --git a/src/me/topchetoeu/jscript/utils/modules/RootModuleRepo.java b/src/java/me/topchetoeu/jscript/utils/modules/RootModuleRepo.java similarity index 100% rename from src/me/topchetoeu/jscript/utils/modules/RootModuleRepo.java rename to src/java/me/topchetoeu/jscript/utils/modules/RootModuleRepo.java diff --git a/src/me/topchetoeu/jscript/utils/modules/SourceModule.java b/src/java/me/topchetoeu/jscript/utils/modules/SourceModule.java similarity index 100% rename from src/me/topchetoeu/jscript/utils/modules/SourceModule.java rename to src/java/me/topchetoeu/jscript/utils/modules/SourceModule.java diff --git a/src/me/topchetoeu/jscript/utils/permissions/Permission.java b/src/java/me/topchetoeu/jscript/utils/permissions/Permission.java similarity index 100% rename from src/me/topchetoeu/jscript/utils/permissions/Permission.java rename to src/java/me/topchetoeu/jscript/utils/permissions/Permission.java diff --git a/src/me/topchetoeu/jscript/utils/permissions/PermissionsManager.java b/src/java/me/topchetoeu/jscript/utils/permissions/PermissionsManager.java similarity index 100% rename from src/me/topchetoeu/jscript/utils/permissions/PermissionsManager.java rename to src/java/me/topchetoeu/jscript/utils/permissions/PermissionsManager.java diff --git a/src/me/topchetoeu/jscript/utils/permissions/PermissionsProvider.java b/src/java/me/topchetoeu/jscript/utils/permissions/PermissionsProvider.java similarity index 100% rename from src/me/topchetoeu/jscript/utils/permissions/PermissionsProvider.java rename to src/java/me/topchetoeu/jscript/utils/permissions/PermissionsProvider.java