From bce469ec8d3492950321492c46f1d8a1290cb030 Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Sat, 29 Jul 2017 23:44:21 -0700 Subject: [PATCH] Move the source files into a new default directory. --- build.gradle | 8 -------- src/{ => main/java}/org/nwapw/abacus/Abacus.java | 0 .../java}/org/nwapw/abacus/config/Configuration.java | 0 .../org/nwapw/abacus/config/ConfigurationObject.java | 0 .../java}/org/nwapw/abacus/function/Function.java | 0 .../java}/org/nwapw/abacus/function/Operator.java | 0 .../org/nwapw/abacus/function/OperatorAssociativity.java | 0 .../java}/org/nwapw/abacus/function/OperatorType.java | 0 src/{ => main/java}/org/nwapw/abacus/lexing/Lexer.java | 0 .../java}/org/nwapw/abacus/lexing/pattern/AnyNode.java | 0 .../java}/org/nwapw/abacus/lexing/pattern/EndNode.java | 0 .../java}/org/nwapw/abacus/lexing/pattern/LinkNode.java | 0 .../java}/org/nwapw/abacus/lexing/pattern/Match.java | 0 .../java}/org/nwapw/abacus/lexing/pattern/Pattern.java | 0 .../org/nwapw/abacus/lexing/pattern/PatternChain.java | 0 .../org/nwapw/abacus/lexing/pattern/PatternNode.java | 0 .../java}/org/nwapw/abacus/lexing/pattern/RangeNode.java | 0 .../java}/org/nwapw/abacus/lexing/pattern/ValueNode.java | 0 .../java}/org/nwapw/abacus/number/NaiveNumber.java | 0 .../java}/org/nwapw/abacus/number/NumberInterface.java | 0 .../java}/org/nwapw/abacus/number/PreciseNumber.java | 0 .../java}/org/nwapw/abacus/parsing/LexerTokenizer.java | 0 src/{ => main/java}/org/nwapw/abacus/parsing/Parser.java | 0 .../org/nwapw/abacus/parsing/ShuntingYardParser.java | 0 .../java}/org/nwapw/abacus/parsing/Tokenizer.java | 0 .../java}/org/nwapw/abacus/parsing/TreeBuilder.java | 0 .../java}/org/nwapw/abacus/plugin/ClassFinder.java | 0 src/{ => main/java}/org/nwapw/abacus/plugin/Plugin.java | 0 .../java}/org/nwapw/abacus/plugin/PluginListener.java | 0 .../java}/org/nwapw/abacus/plugin/PluginManager.java | 0 .../java}/org/nwapw/abacus/plugin/StandardPlugin.java | 0 .../java}/org/nwapw/abacus/tree/BinaryInfixNode.java | 0 .../java}/org/nwapw/abacus/tree/FunctionNode.java | 0 src/{ => main/java}/org/nwapw/abacus/tree/NumberNode.java | 0 .../java}/org/nwapw/abacus/tree/NumberReducer.java | 0 src/{ => main/java}/org/nwapw/abacus/tree/Reducer.java | 0 src/{ => main/java}/org/nwapw/abacus/tree/TokenType.java | 0 src/{ => main/java}/org/nwapw/abacus/tree/TreeNode.java | 0 .../java}/org/nwapw/abacus/tree/UnaryPrefixNode.java | 0 .../java}/org/nwapw/abacus/window/HistoryTableModel.java | 0 src/{ => main/java}/org/nwapw/abacus/window/Window.java | 0 41 files changed, 8 deletions(-) rename src/{ => main/java}/org/nwapw/abacus/Abacus.java (100%) rename src/{ => main/java}/org/nwapw/abacus/config/Configuration.java (100%) rename src/{ => main/java}/org/nwapw/abacus/config/ConfigurationObject.java (100%) rename src/{ => main/java}/org/nwapw/abacus/function/Function.java (100%) rename src/{ => main/java}/org/nwapw/abacus/function/Operator.java (100%) rename src/{ => main/java}/org/nwapw/abacus/function/OperatorAssociativity.java (100%) rename src/{ => main/java}/org/nwapw/abacus/function/OperatorType.java (100%) rename src/{ => main/java}/org/nwapw/abacus/lexing/Lexer.java (100%) rename src/{ => main/java}/org/nwapw/abacus/lexing/pattern/AnyNode.java (100%) rename src/{ => main/java}/org/nwapw/abacus/lexing/pattern/EndNode.java (100%) rename src/{ => main/java}/org/nwapw/abacus/lexing/pattern/LinkNode.java (100%) rename src/{ => main/java}/org/nwapw/abacus/lexing/pattern/Match.java (100%) rename src/{ => main/java}/org/nwapw/abacus/lexing/pattern/Pattern.java (100%) rename src/{ => main/java}/org/nwapw/abacus/lexing/pattern/PatternChain.java (100%) rename src/{ => main/java}/org/nwapw/abacus/lexing/pattern/PatternNode.java (100%) rename src/{ => main/java}/org/nwapw/abacus/lexing/pattern/RangeNode.java (100%) rename src/{ => main/java}/org/nwapw/abacus/lexing/pattern/ValueNode.java (100%) rename src/{ => main/java}/org/nwapw/abacus/number/NaiveNumber.java (100%) rename src/{ => main/java}/org/nwapw/abacus/number/NumberInterface.java (100%) rename src/{ => main/java}/org/nwapw/abacus/number/PreciseNumber.java (100%) rename src/{ => main/java}/org/nwapw/abacus/parsing/LexerTokenizer.java (100%) rename src/{ => main/java}/org/nwapw/abacus/parsing/Parser.java (100%) rename src/{ => main/java}/org/nwapw/abacus/parsing/ShuntingYardParser.java (100%) rename src/{ => main/java}/org/nwapw/abacus/parsing/Tokenizer.java (100%) rename src/{ => main/java}/org/nwapw/abacus/parsing/TreeBuilder.java (100%) rename src/{ => main/java}/org/nwapw/abacus/plugin/ClassFinder.java (100%) rename src/{ => main/java}/org/nwapw/abacus/plugin/Plugin.java (100%) rename src/{ => main/java}/org/nwapw/abacus/plugin/PluginListener.java (100%) rename src/{ => main/java}/org/nwapw/abacus/plugin/PluginManager.java (100%) rename src/{ => main/java}/org/nwapw/abacus/plugin/StandardPlugin.java (100%) rename src/{ => main/java}/org/nwapw/abacus/tree/BinaryInfixNode.java (100%) rename src/{ => main/java}/org/nwapw/abacus/tree/FunctionNode.java (100%) rename src/{ => main/java}/org/nwapw/abacus/tree/NumberNode.java (100%) rename src/{ => main/java}/org/nwapw/abacus/tree/NumberReducer.java (100%) rename src/{ => main/java}/org/nwapw/abacus/tree/Reducer.java (100%) rename src/{ => main/java}/org/nwapw/abacus/tree/TokenType.java (100%) rename src/{ => main/java}/org/nwapw/abacus/tree/TreeNode.java (100%) rename src/{ => main/java}/org/nwapw/abacus/tree/UnaryPrefixNode.java (100%) rename src/{ => main/java}/org/nwapw/abacus/window/HistoryTableModel.java (100%) rename src/{ => main/java}/org/nwapw/abacus/window/Window.java (100%) diff --git a/build.gradle b/build.gradle index 36fd331..6f22d47 100644 --- a/build.gradle +++ b/build.gradle @@ -1,14 +1,6 @@ apply plugin: 'java' apply plugin: 'application' -sourceSets { - main { - java { - srcDirs = ['src'] - } - } -} - repositories { mavenCentral() } diff --git a/src/org/nwapw/abacus/Abacus.java b/src/main/java/org/nwapw/abacus/Abacus.java similarity index 100% rename from src/org/nwapw/abacus/Abacus.java rename to src/main/java/org/nwapw/abacus/Abacus.java diff --git a/src/org/nwapw/abacus/config/Configuration.java b/src/main/java/org/nwapw/abacus/config/Configuration.java similarity index 100% rename from src/org/nwapw/abacus/config/Configuration.java rename to src/main/java/org/nwapw/abacus/config/Configuration.java diff --git a/src/org/nwapw/abacus/config/ConfigurationObject.java b/src/main/java/org/nwapw/abacus/config/ConfigurationObject.java similarity index 100% rename from src/org/nwapw/abacus/config/ConfigurationObject.java rename to src/main/java/org/nwapw/abacus/config/ConfigurationObject.java diff --git a/src/org/nwapw/abacus/function/Function.java b/src/main/java/org/nwapw/abacus/function/Function.java similarity index 100% rename from src/org/nwapw/abacus/function/Function.java rename to src/main/java/org/nwapw/abacus/function/Function.java diff --git a/src/org/nwapw/abacus/function/Operator.java b/src/main/java/org/nwapw/abacus/function/Operator.java similarity index 100% rename from src/org/nwapw/abacus/function/Operator.java rename to src/main/java/org/nwapw/abacus/function/Operator.java diff --git a/src/org/nwapw/abacus/function/OperatorAssociativity.java b/src/main/java/org/nwapw/abacus/function/OperatorAssociativity.java similarity index 100% rename from src/org/nwapw/abacus/function/OperatorAssociativity.java rename to src/main/java/org/nwapw/abacus/function/OperatorAssociativity.java diff --git a/src/org/nwapw/abacus/function/OperatorType.java b/src/main/java/org/nwapw/abacus/function/OperatorType.java similarity index 100% rename from src/org/nwapw/abacus/function/OperatorType.java rename to src/main/java/org/nwapw/abacus/function/OperatorType.java diff --git a/src/org/nwapw/abacus/lexing/Lexer.java b/src/main/java/org/nwapw/abacus/lexing/Lexer.java similarity index 100% rename from src/org/nwapw/abacus/lexing/Lexer.java rename to src/main/java/org/nwapw/abacus/lexing/Lexer.java diff --git a/src/org/nwapw/abacus/lexing/pattern/AnyNode.java b/src/main/java/org/nwapw/abacus/lexing/pattern/AnyNode.java similarity index 100% rename from src/org/nwapw/abacus/lexing/pattern/AnyNode.java rename to src/main/java/org/nwapw/abacus/lexing/pattern/AnyNode.java diff --git a/src/org/nwapw/abacus/lexing/pattern/EndNode.java b/src/main/java/org/nwapw/abacus/lexing/pattern/EndNode.java similarity index 100% rename from src/org/nwapw/abacus/lexing/pattern/EndNode.java rename to src/main/java/org/nwapw/abacus/lexing/pattern/EndNode.java diff --git a/src/org/nwapw/abacus/lexing/pattern/LinkNode.java b/src/main/java/org/nwapw/abacus/lexing/pattern/LinkNode.java similarity index 100% rename from src/org/nwapw/abacus/lexing/pattern/LinkNode.java rename to src/main/java/org/nwapw/abacus/lexing/pattern/LinkNode.java diff --git a/src/org/nwapw/abacus/lexing/pattern/Match.java b/src/main/java/org/nwapw/abacus/lexing/pattern/Match.java similarity index 100% rename from src/org/nwapw/abacus/lexing/pattern/Match.java rename to src/main/java/org/nwapw/abacus/lexing/pattern/Match.java diff --git a/src/org/nwapw/abacus/lexing/pattern/Pattern.java b/src/main/java/org/nwapw/abacus/lexing/pattern/Pattern.java similarity index 100% rename from src/org/nwapw/abacus/lexing/pattern/Pattern.java rename to src/main/java/org/nwapw/abacus/lexing/pattern/Pattern.java diff --git a/src/org/nwapw/abacus/lexing/pattern/PatternChain.java b/src/main/java/org/nwapw/abacus/lexing/pattern/PatternChain.java similarity index 100% rename from src/org/nwapw/abacus/lexing/pattern/PatternChain.java rename to src/main/java/org/nwapw/abacus/lexing/pattern/PatternChain.java diff --git a/src/org/nwapw/abacus/lexing/pattern/PatternNode.java b/src/main/java/org/nwapw/abacus/lexing/pattern/PatternNode.java similarity index 100% rename from src/org/nwapw/abacus/lexing/pattern/PatternNode.java rename to src/main/java/org/nwapw/abacus/lexing/pattern/PatternNode.java diff --git a/src/org/nwapw/abacus/lexing/pattern/RangeNode.java b/src/main/java/org/nwapw/abacus/lexing/pattern/RangeNode.java similarity index 100% rename from src/org/nwapw/abacus/lexing/pattern/RangeNode.java rename to src/main/java/org/nwapw/abacus/lexing/pattern/RangeNode.java diff --git a/src/org/nwapw/abacus/lexing/pattern/ValueNode.java b/src/main/java/org/nwapw/abacus/lexing/pattern/ValueNode.java similarity index 100% rename from src/org/nwapw/abacus/lexing/pattern/ValueNode.java rename to src/main/java/org/nwapw/abacus/lexing/pattern/ValueNode.java diff --git a/src/org/nwapw/abacus/number/NaiveNumber.java b/src/main/java/org/nwapw/abacus/number/NaiveNumber.java similarity index 100% rename from src/org/nwapw/abacus/number/NaiveNumber.java rename to src/main/java/org/nwapw/abacus/number/NaiveNumber.java diff --git a/src/org/nwapw/abacus/number/NumberInterface.java b/src/main/java/org/nwapw/abacus/number/NumberInterface.java similarity index 100% rename from src/org/nwapw/abacus/number/NumberInterface.java rename to src/main/java/org/nwapw/abacus/number/NumberInterface.java diff --git a/src/org/nwapw/abacus/number/PreciseNumber.java b/src/main/java/org/nwapw/abacus/number/PreciseNumber.java similarity index 100% rename from src/org/nwapw/abacus/number/PreciseNumber.java rename to src/main/java/org/nwapw/abacus/number/PreciseNumber.java diff --git a/src/org/nwapw/abacus/parsing/LexerTokenizer.java b/src/main/java/org/nwapw/abacus/parsing/LexerTokenizer.java similarity index 100% rename from src/org/nwapw/abacus/parsing/LexerTokenizer.java rename to src/main/java/org/nwapw/abacus/parsing/LexerTokenizer.java diff --git a/src/org/nwapw/abacus/parsing/Parser.java b/src/main/java/org/nwapw/abacus/parsing/Parser.java similarity index 100% rename from src/org/nwapw/abacus/parsing/Parser.java rename to src/main/java/org/nwapw/abacus/parsing/Parser.java diff --git a/src/org/nwapw/abacus/parsing/ShuntingYardParser.java b/src/main/java/org/nwapw/abacus/parsing/ShuntingYardParser.java similarity index 100% rename from src/org/nwapw/abacus/parsing/ShuntingYardParser.java rename to src/main/java/org/nwapw/abacus/parsing/ShuntingYardParser.java diff --git a/src/org/nwapw/abacus/parsing/Tokenizer.java b/src/main/java/org/nwapw/abacus/parsing/Tokenizer.java similarity index 100% rename from src/org/nwapw/abacus/parsing/Tokenizer.java rename to src/main/java/org/nwapw/abacus/parsing/Tokenizer.java diff --git a/src/org/nwapw/abacus/parsing/TreeBuilder.java b/src/main/java/org/nwapw/abacus/parsing/TreeBuilder.java similarity index 100% rename from src/org/nwapw/abacus/parsing/TreeBuilder.java rename to src/main/java/org/nwapw/abacus/parsing/TreeBuilder.java diff --git a/src/org/nwapw/abacus/plugin/ClassFinder.java b/src/main/java/org/nwapw/abacus/plugin/ClassFinder.java similarity index 100% rename from src/org/nwapw/abacus/plugin/ClassFinder.java rename to src/main/java/org/nwapw/abacus/plugin/ClassFinder.java diff --git a/src/org/nwapw/abacus/plugin/Plugin.java b/src/main/java/org/nwapw/abacus/plugin/Plugin.java similarity index 100% rename from src/org/nwapw/abacus/plugin/Plugin.java rename to src/main/java/org/nwapw/abacus/plugin/Plugin.java diff --git a/src/org/nwapw/abacus/plugin/PluginListener.java b/src/main/java/org/nwapw/abacus/plugin/PluginListener.java similarity index 100% rename from src/org/nwapw/abacus/plugin/PluginListener.java rename to src/main/java/org/nwapw/abacus/plugin/PluginListener.java diff --git a/src/org/nwapw/abacus/plugin/PluginManager.java b/src/main/java/org/nwapw/abacus/plugin/PluginManager.java similarity index 100% rename from src/org/nwapw/abacus/plugin/PluginManager.java rename to src/main/java/org/nwapw/abacus/plugin/PluginManager.java diff --git a/src/org/nwapw/abacus/plugin/StandardPlugin.java b/src/main/java/org/nwapw/abacus/plugin/StandardPlugin.java similarity index 100% rename from src/org/nwapw/abacus/plugin/StandardPlugin.java rename to src/main/java/org/nwapw/abacus/plugin/StandardPlugin.java diff --git a/src/org/nwapw/abacus/tree/BinaryInfixNode.java b/src/main/java/org/nwapw/abacus/tree/BinaryInfixNode.java similarity index 100% rename from src/org/nwapw/abacus/tree/BinaryInfixNode.java rename to src/main/java/org/nwapw/abacus/tree/BinaryInfixNode.java diff --git a/src/org/nwapw/abacus/tree/FunctionNode.java b/src/main/java/org/nwapw/abacus/tree/FunctionNode.java similarity index 100% rename from src/org/nwapw/abacus/tree/FunctionNode.java rename to src/main/java/org/nwapw/abacus/tree/FunctionNode.java diff --git a/src/org/nwapw/abacus/tree/NumberNode.java b/src/main/java/org/nwapw/abacus/tree/NumberNode.java similarity index 100% rename from src/org/nwapw/abacus/tree/NumberNode.java rename to src/main/java/org/nwapw/abacus/tree/NumberNode.java diff --git a/src/org/nwapw/abacus/tree/NumberReducer.java b/src/main/java/org/nwapw/abacus/tree/NumberReducer.java similarity index 100% rename from src/org/nwapw/abacus/tree/NumberReducer.java rename to src/main/java/org/nwapw/abacus/tree/NumberReducer.java diff --git a/src/org/nwapw/abacus/tree/Reducer.java b/src/main/java/org/nwapw/abacus/tree/Reducer.java similarity index 100% rename from src/org/nwapw/abacus/tree/Reducer.java rename to src/main/java/org/nwapw/abacus/tree/Reducer.java diff --git a/src/org/nwapw/abacus/tree/TokenType.java b/src/main/java/org/nwapw/abacus/tree/TokenType.java similarity index 100% rename from src/org/nwapw/abacus/tree/TokenType.java rename to src/main/java/org/nwapw/abacus/tree/TokenType.java diff --git a/src/org/nwapw/abacus/tree/TreeNode.java b/src/main/java/org/nwapw/abacus/tree/TreeNode.java similarity index 100% rename from src/org/nwapw/abacus/tree/TreeNode.java rename to src/main/java/org/nwapw/abacus/tree/TreeNode.java diff --git a/src/org/nwapw/abacus/tree/UnaryPrefixNode.java b/src/main/java/org/nwapw/abacus/tree/UnaryPrefixNode.java similarity index 100% rename from src/org/nwapw/abacus/tree/UnaryPrefixNode.java rename to src/main/java/org/nwapw/abacus/tree/UnaryPrefixNode.java diff --git a/src/org/nwapw/abacus/window/HistoryTableModel.java b/src/main/java/org/nwapw/abacus/window/HistoryTableModel.java similarity index 100% rename from src/org/nwapw/abacus/window/HistoryTableModel.java rename to src/main/java/org/nwapw/abacus/window/HistoryTableModel.java diff --git a/src/org/nwapw/abacus/window/Window.java b/src/main/java/org/nwapw/abacus/window/Window.java similarity index 100% rename from src/org/nwapw/abacus/window/Window.java rename to src/main/java/org/nwapw/abacus/window/Window.java