mirror of
https://github.com/xiaozhou233/OrangeX-Client.git
synced 2026-12-05 13:05:52 +08:00
Feat: Add OrangeX core module
- Register OrangeX subproject in settings.gradle - Add OrangeX build.gradle with Lombok support - Add OrangeX singleton entry class
This commit is contained in:
1 parent
d39eb63be4
commit
a7537e9d98
5 files changed
+37
-2
No files matched your search
Generated
+2
-1
@@ -1,5 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project version="4">
|
<project version="4">
|
||||||
|
<component name="GradleMigrationSettings" migrationVersion="1" />
|
||||||
<component name="GradleSettings">
|
<component name="GradleSettings">
|
||||||
<option name="linkedExternalProjectsSettings">
|
<option name="linkedExternalProjectsSettings">
|
||||||
<GradleProjectSettings>
|
<GradleProjectSettings>
|
||||||
@@ -8,7 +9,7 @@
|
|||||||
<set>
|
<set>
|
||||||
<option value="$PROJECT_DIR$" />
|
<option value="$PROJECT_DIR$" />
|
||||||
<option value="$PROJECT_DIR$/Loader" />
|
<option value="$PROJECT_DIR$/Loader" />
|
||||||
<option value="$PROJECT_DIR$/Minecraft1.8.8" />
|
<option value="$PROJECT_DIR$/OrangeX" />
|
||||||
</set>
|
</set>
|
||||||
</option>
|
</option>
|
||||||
<option name="resolveExternalAnnotations" value="true" />
|
<option name="resolveExternalAnnotations" value="true" />
|
||||||
|
|||||||
Generated
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="VcsDirectoryMappings">
|
<component name="VcsDirectoryMappings">
|
||||||
<mapping directory="$PROJECT_DIR$" vcs="Git" />
|
<mapping directory="" vcs="Git" />
|
||||||
</component>
|
</component>
|
||||||
</project>
|
</project>
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
plugins {
|
||||||
|
id 'java'
|
||||||
|
}
|
||||||
|
|
||||||
|
group = 'cn.xiaozhou233.orangex'
|
||||||
|
version = 'unspecified'
|
||||||
|
|
||||||
|
repositories {
|
||||||
|
mavenCentral()
|
||||||
|
}
|
||||||
|
|
||||||
|
dependencies {
|
||||||
|
// Source: https://mvnrepository.com/artifact/org.projectlombok/lombok
|
||||||
|
implementation 'org.projectlombok:lombok:1.18.48'
|
||||||
|
annotationProcessor 'org.projectlombok:lombok:1.18.48'
|
||||||
|
}
|
||||||
|
|
||||||
|
test {
|
||||||
|
useJUnitPlatform()
|
||||||
|
}
|
||||||
@@ -0,0 +1,12 @@
|
|||||||
|
package cn.xiaozhou233.orangex;
|
||||||
|
|
||||||
|
import lombok.Getter;
|
||||||
|
|
||||||
|
public class OrangeX {
|
||||||
|
@Getter
|
||||||
|
private static final OrangeX instance = new OrangeX();
|
||||||
|
|
||||||
|
public OrangeX() {
|
||||||
|
System.out.println("OrangeX <init> start!");
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,2 +1,4 @@
|
|||||||
rootProject.name = 'OrangeX-Client'
|
rootProject.name = 'OrangeX-Client'
|
||||||
include 'Loader'
|
include 'Loader'
|
||||||
|
include 'OrangeX'
|
||||||
|
|
||||||
Reference in new issue
Block a user