Added unicode4d and stepcode lib infra

This commit is contained in:
Willem 2022-02-07 01:18:02 +01:00
parent 2fc4eded00
commit 4b9b6ec881
7 changed files with 48 additions and 3 deletions

View file

@ -56,11 +56,33 @@ project(":lib-numberxd") {
}
}
project(":main-gdxapp") {
project(":lib-unicode4d") {
apply plugin: "java-library"
dependencies {
api project(":lib-numberxd")
api files('../gradle-libs/opentype4j-1.0.0-SNAPSHOT.jar')
testImplementation "org.junit.jupiter:junit-jupiter:$junitVersion"
}
tasks.named('test') {
useJUnitPlatform()
}
}
project(":lib-stepcode") {
apply plugin: "java-library"
dependencies {
api project(":lib-unicode4d")
testImplementation "org.junit.jupiter:junit-jupiter:$junitVersion"
}
tasks.named('test') {
useJUnitPlatform()
}
}
project(":main-gdxapp") {
apply plugin: "java-library"
dependencies {
api project(":lib-stepcode")
api "com.badlogicgames.gdx:gdx:$gdxVersion"
api "io.github.spair:imgui-java-binding:$spairVersion"
api "io.github.spair:imgui-java-lwjgl3:$spairVersion"

View file

@ -5,4 +5,3 @@ sourceSets.main.java.srcDirs = [ "src/main/"]
sourceSets.main.resources.srcDirs = [ "src/resources/" ]
sourceSets.test.java.srcDirs = [ "src/test/"]
sourceSets.test.resources.srcDirs = [ "src/test-resources/" ]

View file

@ -0,0 +1,7 @@
sourceCompatibility = appJvmCode
[compileJava, compileTestJava]*.options*.encoding = appEncoding
sourceSets.main.java.srcDirs = [ "src/main/"]
sourceSets.main.resources.srcDirs = [ "src/resources/" ]
sourceSets.test.java.srcDirs = [ "src/test/"]
sourceSets.test.resources.srcDirs = [ "src/test-resources/" ]

View file

@ -0,0 +1,5 @@
package love.distributedrebirth.stepcode;
public class StepCode {
}

View file

@ -0,0 +1,7 @@
sourceCompatibility = appJvmCode
[compileJava, compileTestJava]*.options*.encoding = appEncoding
sourceSets.main.java.srcDirs = [ "src/main/"]
sourceSets.main.resources.srcDirs = [ "src/resources/" ]
sourceSets.test.java.srcDirs = [ "src/test/"]
sourceSets.test.resources.srcDirs = [ "src/test-resources/" ]

View file

@ -0,0 +1,5 @@
package love.distributedrebirth.unicode4d;
public class CodePoint4D {
}

View file

@ -1 +1 @@
include 'main-gdxapp-desktop', 'main-gdxapp', 'lib-bassboonyd', 'lib-numberxd'
include 'main-gdxapp-desktop', 'main-gdxapp', 'lib-bassboonyd', 'lib-numberxd', 'lib-unicode4d', 'lib-stepcode'