Skip to content

Commit 0713478

Browse files
committed
first commit
0 parents  commit 0713478

22 files changed

Lines changed: 1417 additions & 0 deletions

.gitignore

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
.gradle
2+
build/
3+
!gradle/wrapper/gradle-wrapper.jar
4+
!**/src/main/**/build/
5+
!**/src/test/**/build/
6+
7+
### IntelliJ IDEA ###
8+
/.idea/
9+
*.iws
10+
*.iml
11+
*.ipr
12+
out/
13+
14+
### Eclipse ###
15+
.apt_generated
16+
.classpath
17+
.factorypath
18+
.project
19+
.settings
20+
.springBeans
21+
.sts4-cache
22+
bin/
23+
!**/src/main/**/bin/
24+
!**/src/test/**/bin/
25+
26+
### NetBeans ###
27+
/nbproject/private/
28+
/nbbuild/
29+
/dist/
30+
/nbdist/
31+
/.nb-gradle/
32+
33+
### VS Code ###
34+
.vscode/
35+
36+
### Mac OS ###
37+
.DS_Store

.idea/kotlinc.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

LICENSE

Lines changed: 674 additions & 0 deletions
Large diffs are not rendered by default.

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<!--suppress HtmlDeprecatedAttribute -->
2+
<h1 align="center">
3+
<b>Maple-themed Loading Simulator</b>
4+
</h1>
5+
6+
<p align="center">
7+
A simulator inspired by the [Maple Lite](https://maple.software/) theme, designed to create an engaging loading experience. Click on the loading area to accelerate the process and enjoy the playful animation. Requires Java 11 or newer to run.
8+
</p>
9+
10+
<p align="center">
11+
<a><img src="https://img.shields.io/github/stars/SpoilerRules/loading-simulator?style=for-the-badge&color=darkslategray" alt="Stars"></a>
12+
<a href="LICENSE"><img src="https://img.shields.io/badge/license-GPL--3.0-blue.svg?style=for-the-badge&color=gold" alt="GPL-3.0 License"></a>
13+
</p>
14+
15+
<p align="center">
16+
<a href="https://kotlinlang.org/"><img src="https://img.shields.io/badge/Kotlin-1.9.24-blue.svg?style=flat-square&logo=kotlin&color=blue" alt="Kotlin"></a>
17+
<a href="https://www.oracle.com/java/technologies/javase-downloads.html"><img src="https://img.shields.io/badge/Java-11-blue.svg?style=flat-square&logo=java&logoColor=white&color=blue" alt="Java"></a>
18+
<a href="https://gradle.org/"><img src="https://img.shields.io/badge/Gradle-8.7-blue.svg?style=flat-square&logo=gradle&logoColor=white&color=blue" alt="Gradle"></a>
19+
</p>
20+
21+
## Usage Preview
22+
<img src="https://i.ibb.co/PcrSkHC/java-o-Ph-Kr-Xb8-AC.gif" alt="Usage Preview">
23+

build.gradle.kts

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
plugins {
2+
kotlin("jvm") version "1.9.24"
3+
id("org.openjfx.javafxplugin") version "0.1.0"
4+
id("com.github.johnrengelman.shadow") version "8.1.1"
5+
application
6+
}
7+
8+
group = "com.spoiligaming"
9+
version = "1.0.0"
10+
11+
repositories {
12+
mavenCentral()
13+
}
14+
15+
dependencies {
16+
implementation(kotlin("stdlib"))
17+
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-javafx:1.8.1")
18+
19+
testImplementation(kotlin("test"))
20+
}
21+
22+
javafx {
23+
version = "11"
24+
modules("javafx.controls", "javafx.graphics", "javafx.base")
25+
}
26+
27+
tasks.test {
28+
useJUnitPlatform()
29+
}
30+
31+
val mainFunctionLocation = "com.spoiligaming.loader.MainKt"
32+
33+
tasks.shadowJar {
34+
mergeServiceFiles()
35+
duplicatesStrategy = DuplicatesStrategy.FAIL
36+
archiveFileName.set("LoadingSimulator-$version.jar")
37+
manifest {
38+
attributes["Main-Class"] = mainFunctionLocation
39+
}
40+
}
41+
42+
application {
43+
mainClass.set(mainFunctionLocation)
44+
}
45+
46+
kotlin {
47+
jvmToolchain(11)
48+
}

gradle.properties

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
kotlin.code.style=official

gradle/wrapper/gradle-wrapper.jar

59.3 KB
Binary file not shown.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#Fri May 17 22:33:52 CEST 2024
2+
distributionBase=GRADLE_USER_HOME
3+
distributionPath=wrapper/dists
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
5+
zipStoreBase=GRADLE_USER_HOME
6+
zipStorePath=wrapper/dists

gradlew

Lines changed: 234 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)