-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
41 changed files
with
1,853 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# https://editorconfig.org | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.{java,scala,groovy,kt,kts}] | ||
indent_size = 4 | ||
|
||
[*.gradle] | ||
indent_size = 2 | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
* text=auto eol=lf | ||
*.bat text=auto eol=crlf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,163 @@ | ||
## Gradle: | ||
.gradle/ | ||
gradle-app.setting | ||
/build/ | ||
/android/build/ | ||
/core/build/ | ||
/lwjgl2/build/ | ||
/lwjgl3/build/ | ||
/html/build/ | ||
/teavm/build/ | ||
/ios/build/ | ||
/ios-moe/build/ | ||
/headless/build/ | ||
/server/build/ | ||
/shared/build/ | ||
|
||
## Java: | ||
*.class | ||
*.war | ||
*.ear | ||
hs_err_pid* | ||
.attach_pid* | ||
|
||
## Android: | ||
/android/libs/armeabi-v7a/ | ||
/android/libs/arm64-v8a/ | ||
/android/libs/x86/ | ||
/android/libs/x86_64/ | ||
/android/gen/ | ||
/android/out/ | ||
local.properties | ||
com_crashlytics_export_strings.xml | ||
|
||
## Robovm: | ||
/ios/robovm-build/ | ||
|
||
## iOS: | ||
/ios/xcode/*.xcodeproj/* | ||
!/ios/xcode/*.xcodeproj/xcshareddata | ||
!/ios/xcode/*.xcodeproj/project.pbxproj | ||
/ios/xcode/native/ | ||
/ios/IOSLauncher.app | ||
/ios/IOSLauncher.app.dSYM | ||
|
||
## GWT: | ||
/html/war/ | ||
/html/gwt-unitCache/ | ||
.apt_generated/ | ||
/html/war/WEB-INF/deploy/ | ||
/html/war/WEB-INF/classes/ | ||
.gwt/ | ||
gwt-unitCache/ | ||
www-test/ | ||
.gwt-tmp/ | ||
|
||
## TeaVM: | ||
# Not sure yet... | ||
|
||
## IntelliJ, Android Studio: | ||
.idea/ | ||
*.ipr | ||
*.iws | ||
*.iml | ||
|
||
## Eclipse: | ||
.classpath | ||
.project | ||
.metadata/ | ||
/android/bin/ | ||
/core/bin/ | ||
/lwjgl2/bin/ | ||
/lwjgl3/bin/ | ||
/html/bin/ | ||
/teavm/bin/ | ||
/ios/bin/ | ||
/ios-moe/bin/ | ||
/headless/bin/ | ||
/server/bin/ | ||
/shared/bin/ | ||
*.tmp | ||
*.bak | ||
*.swp | ||
*~.nib | ||
.settings/ | ||
.loadpath | ||
.externalToolBuilders/ | ||
*.launch | ||
|
||
|
||
## NetBeans: | ||
|
||
/nbproject/private/ | ||
/android/nbproject/private/ | ||
/core/nbproject/private/ | ||
/lwjgl2/nbproject/private/ | ||
/lwjgl3/nbproject/private/ | ||
/html/nbproject/private/ | ||
/teavm/nbproject/private/ | ||
/ios/nbproject/private/ | ||
/ios-moe/nbproject/private/ | ||
/headless/nbproject/private/ | ||
/server/nbproject/private/ | ||
/shared/nbproject/private/ | ||
|
||
/nbbuild/ | ||
/android/nbbuild/ | ||
/core/nbbuild/ | ||
/lwjgl2/nbbuild/ | ||
/lwjgl3/nbbuild/ | ||
/html/nbbuild/ | ||
/teavm/nbbuild/ | ||
/ios/nbbuild/ | ||
/ios-moe/nbbuild/ | ||
/headless/nbbuild/ | ||
/server/nbbuild/ | ||
/shared/nbbuild/ | ||
|
||
/dist/ | ||
/android/dist/ | ||
/core/dist/ | ||
/lwjgl2/dist/ | ||
/lwjgl3/dist/ | ||
/html/dist/ | ||
/teavm/dist/ | ||
/ios/dist/ | ||
/ios-moe/dist/ | ||
/headless/dist/ | ||
/server/dist/ | ||
/shared/dist/ | ||
|
||
/nbdist/ | ||
/android/nbdist/ | ||
/core/nbdist/ | ||
/lwjgl2/nbdist/ | ||
/lwjgl3/nbdist/ | ||
/html/nbdist/ | ||
/teavm/nbdist/ | ||
/ios/nbdist/ | ||
/ios-moe/nbdist/ | ||
/headless/nbdist/ | ||
/server/nbdist/ | ||
/shared/nbdist/ | ||
|
||
nbactions.xml | ||
nb-configuration.xml | ||
|
||
## OS-Specific: | ||
.DS_Store | ||
Thumbs.db | ||
|
||
## Miscellaneous: | ||
*~ | ||
*.*# | ||
*#*# | ||
/assets/assets.txt | ||
|
||
## Special cases: | ||
|
||
## There is a resource-config.json file generated by nativeimage.gradle if you use Graal Native Image. | ||
## Some usage may need extra resource configuration in a different file with the same name. | ||
## You could also add that configuration to the text in nativeimage.gradle . | ||
## You should delete or comment out the next line if you have configuration in a different resource-config.json . | ||
**/resource-config.json |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
buildscript { | ||
repositories { | ||
mavenCentral() | ||
maven { url 'https://s01.oss.sonatype.org' } | ||
gradlePluginPortal() | ||
mavenLocal() | ||
google() | ||
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' } | ||
maven { url 'https://s01.oss.sonatype.org/content/repositories/snapshots/' } | ||
} | ||
dependencies { | ||
classpath "org.docstr:gwt-gradle-plugin:$gwtPluginVersion" | ||
|
||
} | ||
} | ||
|
||
allprojects { | ||
apply plugin: 'eclipse' | ||
apply plugin: 'idea' | ||
|
||
// This allows you to "Build and run using IntelliJ IDEA", an option in IDEA's Settings. | ||
idea { | ||
module { | ||
outputDir file('build/classes/java/main') | ||
testOutputDir file('build/classes/java/test') | ||
} | ||
} | ||
} | ||
|
||
configure(subprojects) { | ||
apply plugin: 'java-library' | ||
sourceCompatibility = 11 | ||
compileJava { | ||
options.incremental = true | ||
} | ||
// From https://lyze.dev/2021/04/29/libGDX-Internal-Assets-List/ | ||
// The article can be helpful when using assets.txt in your project. | ||
compileJava.doLast { | ||
// projectFolder/assets | ||
def assetsFolder = new File("${project.rootDir}/assets/") | ||
// projectFolder/assets/assets.txt | ||
def assetsFile = new File(assetsFolder, "assets.txt") | ||
// delete that file in case we've already created it | ||
assetsFile.delete() | ||
|
||
// iterate through all files inside that folder | ||
// convert it to a relative path | ||
// and append it to the file assets.txt | ||
fileTree(assetsFolder).collect { assetsFolder.relativePath(it) }.each { | ||
assetsFile.append(it + "\n") | ||
} | ||
} | ||
} | ||
|
||
subprojects { | ||
version = '$projectVersion' | ||
ext.appName = 'Drop' | ||
repositories { | ||
mavenCentral() | ||
maven { url 'https://s01.oss.sonatype.org' } | ||
// You may want to remove the following line if you have errors downloading dependencies. | ||
mavenLocal() | ||
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' } | ||
maven { url 'https://s01.oss.sonatype.org/content/repositories/snapshots/' } | ||
maven { url 'https://jitpack.io' } | ||
} | ||
} | ||
|
||
eclipse.project.name = 'Drop' + '-parent' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8' | ||
eclipse.project.name = appName + '-core' | ||
|
||
dependencies { | ||
api "com.badlogicgames.gdx:gdx:$gdxVersion" | ||
} |
9 changes: 9 additions & 0 deletions
9
a-simple-game/core/src/main/java/com/badlogic/drop/Main.gwt.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 2.11.0//EN" "https://www.gwtproject.org/doctype/2.11.0/gwt-module.dtd"> | ||
<module> | ||
<!-- Paths to source are relative to this file and separated by slashes ('/'). --> | ||
<source path="" /> | ||
<!-- Reflection includes may be needed for your code or library code. Each value is separated by periods ('.'). --> | ||
<!-- You can include a full package by not including the name of a type at the end. --> | ||
|
||
</module> |
Oops, something went wrong.