Skip to content

Commit

Permalink
Add Events and Settings as Submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
Lyzev committed Nov 3, 2023
1 parent 7635ec1 commit d0a91c6
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
6 changes: 6 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[submodule "Events"]
path = Events
url = https://github.com/Lyzev/Events
[submodule "Settings"]
path = Settings
url = https://github.com/Lyzev/Settings
1 change: 1 addition & 0 deletions Events
Submodule Events added at 99b6e8
1 change: 1 addition & 0 deletions Settings
Submodule Settings added at 59cabc
8 changes: 4 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ dependencies {
}

loom {
accessWidenerPath.set(File("src/main/resources/schizoid.accesswidener"))
accessWidenerPath.set(File("src/main/resources/${project.extra["archives_base_name"] as String}.accesswidener"))
}

tasks.register("updateFabric") {
group = "schizoid"
group = project.extra["archives_base_name"] as String
description = "Update Fabric Library Versions"
doLast {
val gameVersion = HttpClient.request(HttpMethod.GET, "https://meta.fabricmc.net/v2/versions/game").let { data ->
Expand Down Expand Up @@ -120,7 +120,7 @@ tasks.register("updateFabric") {
}

tasks.register("updateKotlin") {
group = "schizoid"
group = project.extra["archives_base_name"] as String
description = "Update Kotlin and Dokka Versions"
doLast {
val kotlinVersion = HttpClient.request(
Expand Down Expand Up @@ -203,7 +203,7 @@ tasks {
}

dokkaHtml.configure {
moduleName.set("Schizoid")
moduleName.set(project.extra["archives_base_name"] as String)
dokkaSourceSets {
configureEach {
includes.from("dokka-docs.md")
Expand Down

0 comments on commit d0a91c6

Please sign in to comment.