refactor: rename NewLaunch package
This commit is contained in:
parent
707a68cb4f
commit
0ba02f0830
@ -3,19 +3,19 @@ project(launcher Java)
|
|||||||
find_package(Java 1.7 REQUIRED COMPONENTS Development)
|
find_package(Java 1.7 REQUIRED COMPONENTS Development)
|
||||||
|
|
||||||
include(UseJava)
|
include(UseJava)
|
||||||
set(CMAKE_JAVA_JAR_ENTRY_POINT org.multimc.EntryPoint)
|
set(CMAKE_JAVA_JAR_ENTRY_POINT org.polymc.EntryPoint)
|
||||||
set(CMAKE_JAVA_COMPILE_FLAGS -target 7 -source 7 -Xlint:deprecation -Xlint:unchecked)
|
set(CMAKE_JAVA_COMPILE_FLAGS -target 7 -source 7 -Xlint:deprecation -Xlint:unchecked)
|
||||||
|
|
||||||
set(SRC
|
set(SRC
|
||||||
org/multimc/EntryPoint.java
|
org/polymc/EntryPoint.java
|
||||||
org/multimc/Launcher.java
|
org/polymc/Launcher.java
|
||||||
org/multimc/LauncherFactory.java
|
org/polymc/LauncherFactory.java
|
||||||
org/multimc/impl/OneSixLauncher.java
|
org/polymc/impl/OneSixLauncher.java
|
||||||
org/multimc/applet/LegacyFrame.java
|
org/polymc/applet/LegacyFrame.java
|
||||||
org/multimc/exception/ParameterNotFoundException.java
|
org/polymc/exception/ParameterNotFoundException.java
|
||||||
org/multimc/exception/ParseException.java
|
org/polymc/exception/ParseException.java
|
||||||
org/multimc/utils/Parameters.java
|
org/polymc/utils/Parameters.java
|
||||||
org/multimc/utils/Utils.java
|
org/polymc/utils/Utils.java
|
||||||
net/minecraft/Launcher.java
|
net/minecraft/Launcher.java
|
||||||
)
|
)
|
||||||
add_jar(NewLaunch ${SRC})
|
add_jar(NewLaunch ${SRC})
|
||||||
|
@ -33,10 +33,10 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.multimc;
|
package org.polymc;
|
||||||
|
|
||||||
import org.multimc.exception.ParseException;
|
import org.polymc.exception.ParseException;
|
||||||
import org.multimc.utils.Parameters;
|
import org.polymc.utils.Parameters;
|
||||||
|
|
||||||
import java.io.BufferedReader;
|
import java.io.BufferedReader;
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.multimc;
|
package org.polymc;
|
||||||
|
|
||||||
public interface Launcher {
|
public interface Launcher {
|
||||||
|
|
@ -16,10 +16,10 @@
|
|||||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.multimc;
|
package org.polymc;
|
||||||
|
|
||||||
import org.multimc.impl.OneSixLauncher;
|
import org.polymc.impl.OneSixLauncher;
|
||||||
import org.multimc.utils.Parameters;
|
import org.polymc.utils.Parameters;
|
||||||
|
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.multimc.applet;
|
package org.polymc.applet;
|
||||||
|
|
||||||
import net.minecraft.Launcher;
|
import net.minecraft.Launcher;
|
||||||
|
|
@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.multimc.exception;
|
package org.polymc.exception;
|
||||||
|
|
||||||
public final class ParameterNotFoundException extends IllegalArgumentException {
|
public final class ParameterNotFoundException extends IllegalArgumentException {
|
||||||
|
|
@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.multimc.exception;
|
package org.polymc.exception;
|
||||||
|
|
||||||
public final class ParseException extends IllegalArgumentException {
|
public final class ParseException extends IllegalArgumentException {
|
||||||
|
|
@ -13,12 +13,12 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.multimc.impl;
|
package org.polymc.impl;
|
||||||
|
|
||||||
import org.multimc.Launcher;
|
import org.polymc.Launcher;
|
||||||
import org.multimc.applet.LegacyFrame;
|
import org.polymc.applet.LegacyFrame;
|
||||||
import org.multimc.utils.Parameters;
|
import org.polymc.utils.Parameters;
|
||||||
import org.multimc.utils.Utils;
|
import org.polymc.utils.Utils;
|
||||||
|
|
||||||
import java.applet.Applet;
|
import java.applet.Applet;
|
||||||
import java.io.File;
|
import java.io.File;
|
@ -14,9 +14,9 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.multimc.utils;
|
package org.polymc.utils;
|
||||||
|
|
||||||
import org.multimc.exception.ParameterNotFoundException;
|
import org.polymc.exception.ParameterNotFoundException;
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
@ -14,7 +14,7 @@
|
|||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.multimc.utils;
|
package org.polymc.utils;
|
||||||
|
|
||||||
import java.io.File;
|
import java.io.File;
|
||||||
import java.lang.reflect.Field;
|
import java.lang.reflect.Field;
|
Loading…
Reference in New Issue
Block a user