-
Notifications
You must be signed in to change notification settings - Fork 0
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
0 parents
commit 0a06d9b
Showing
629 changed files
with
156,002 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 @@ | ||
gradlew text eol=lf |
Validating CODEOWNERS rules …
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 @@ | ||
* @TheMrMilchmann |
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,32 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
open-pull-requests-limit: 20 | ||
commit-message: | ||
prefix: "build" | ||
labels: | ||
- "a:chore" | ||
- "in:build" | ||
- "in:dependencies" | ||
groups: | ||
"@actions/artifacts": | ||
patterns: | ||
- "actions/deploy-pages" | ||
- "actions/download-artifact" | ||
- "actions/upload-artifact" | ||
- "actions/upload-pages-artifact" | ||
|
||
- package-ecosystem: "gradle" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
open-pull-requests-limit: 20 | ||
commit-message: | ||
prefix: "build" | ||
labels: | ||
- "a:chore" | ||
- "in:build" | ||
- "in:dependencies" |
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,60 @@ | ||
name: CD | ||
on: | ||
push: | ||
branches: | ||
- "master" | ||
workflow_dispatch: | ||
|
||
|
||
env: | ||
JDK_VERSION: "22" | ||
|
||
|
||
jobs: | ||
build-test: | ||
name: Build & Test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Validate Gradle wrapper | ||
uses: gradle/actions/wrapper-validation@v3 | ||
|
||
- name: Setup Java | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: "temurin" | ||
java-version: ${{ env.JDK_VERSION }} | ||
|
||
- name: Setup Gradle | ||
uses: gradle/actions/setup-gradle@v3 | ||
with: | ||
gradle-home-cache-cleanup: true | ||
|
||
- name: Gradle Check | ||
run: ./gradlew check --info -S --show-version | ||
|
||
- name: Gradle Build Distribution | ||
run: ./gradlew wasmJsBrowserDistribution --info -S --show-version | ||
|
||
- name: Upload Artifact | ||
uses: actions/upload-pages-artifact@v3 | ||
with: | ||
path: ./build/dist/wasmJs/productionExecutable | ||
|
||
deploy: | ||
needs: build-test | ||
runs-on: ubuntu-latest | ||
permissions: | ||
pages: write | ||
id-token: write | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
steps: | ||
- name: Deploy | ||
id: deployment | ||
uses: actions/deploy-pages@v4 |
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,37 @@ | ||
name: CI | ||
on: | ||
- pull_request | ||
- push | ||
- workflow_dispatch | ||
|
||
|
||
env: | ||
JDK_VERSION: "22" | ||
|
||
|
||
jobs: | ||
build-and-test: | ||
name: Build & Test | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Validate Gradle wrapper | ||
uses: gradle/actions/wrapper-validation@v3 | ||
|
||
- name: Setup Java | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: "temurin" | ||
java-version: ${{ env.JDK_VERSION }} | ||
|
||
- name: Setup Gradle | ||
uses: gradle/actions/setup-gradle@v3 | ||
with: | ||
gradle-home-cache-cleanup: true | ||
|
||
- name: Gradle Check | ||
run: ./gradlew check --info -S --show-version |
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,38 @@ | ||
name: Dependency Submission | ||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
|
||
permissions: | ||
contents: write | ||
|
||
|
||
env: | ||
JDK_VERSION: "22" | ||
|
||
|
||
jobs: | ||
submit-dependencies: | ||
name: Update Dependency Graph | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
|
||
- name: Validate Gradle wrapper | ||
uses: gradle/actions/wrapper-validation@v3 | ||
|
||
- name: Setup Java | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: "temurin" | ||
java-version: ${{ env.JDK_VERSION }} | ||
|
||
- name: Generate and submit dependency graph | ||
uses: gradle/actions/dependency-submission@v3 | ||
with: | ||
build-scan-publish: true | ||
build-scan-terms-of-use-url: "https://gradle.com/help/legal-terms-of-use" | ||
build-scan-terms-of-use-agree: "yes" |
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,15 @@ | ||
/.gradle | ||
|
||
!/.idea | ||
/.idea/* | ||
!/.idea/copyright | ||
!/.idea/inspectionProfiles | ||
!/.idea/runConfigurations | ||
!/.idea/scopes | ||
!/.idea/icon.png | ||
|
||
/.kotlin | ||
|
||
/build | ||
|
||
/node_modules |
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,4 @@ | ||
[submodule "deps/GW2APIClient"] | ||
path = deps/GW2APIClient | ||
url = https://github.com/GW2ToolBelt/GW2APIClient | ||
branch = tmm/wasm-support |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 @@ | ||
Copyright (c) 2022-2024 Leon Linhart | ||
All rights reserved. |
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,49 @@ | ||
# GW2TB Link | ||
|
||
[link.gw2tb.com](https://link.gw2tb.com) is a simple utility for en- and | ||
decoding Guild Wars 2 [chat links](https://wiki.guildwars2.com/wiki/Chat_link_format). | ||
|
||
|
||
## Building from Source | ||
|
||
!TODO | ||
|
||
|
||
## License | ||
|
||
#### link | ||
|
||
``` | ||
Copyright (c) 2022-2024 Leon Linhart | ||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. | ||
``` | ||
|
||
-------------------------------------------------------------------------------- | ||
|
||
#### Guild Wars 2 | ||
|
||
> © ArenaNet LLC. All rights reserved. NCSOFT, ArenaNet, Guild Wars, Guild | ||
> Wars 2, GW2, Guild Wars 2: Heart of Thorns, Guild Wars 2: Path of Fire, Guild | ||
> Wars 2: End of Dragons, and Guild Wars 2: Secrets of the Obscure and all | ||
> associated logos, designs, and composite marks are trademarks or registered | ||
> trademarks of NCSOFT Corporation. | ||
As taken from [Guild Wars 2 Content Terms of Use](https://www.guildwars2.com/en/legal/guild-wars-2-content-terms-of-use/) | ||
on 2024-01-23 00:57 CET. |
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,78 @@ | ||
/* | ||
* Copyright (c) 2022-2024 Leon Linhart | ||
* | ||
* Permission is hereby granted, free of charge, to any person obtaining a copy | ||
* of this software and associated documentation files (the "Software"), to deal | ||
* in the Software without restriction, including without limitation the rights | ||
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
* copies of the Software, and to permit persons to whom the Software is | ||
* furnished to do so, subject to the following conditions: | ||
* | ||
* The above copyright notice and this permission notice shall be included in | ||
* all copies or substantial portions of the Software. | ||
* | ||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
* SOFTWARE. | ||
*/ | ||
import org.jetbrains.compose.resources.ResourcesExtension | ||
import org.jetbrains.kotlin.gradle.targets.js.dsl.ExperimentalWasmDsl | ||
import org.jetbrains.kotlin.gradle.targets.js.webpack.KotlinWebpackConfig | ||
import org.jetbrains.kotlin.gradle.targets.js.yarn.yarn | ||
|
||
plugins { | ||
alias(libs.plugins.compose) | ||
alias(libs.plugins.kotlin.multiplatform) | ||
alias(libs.plugins.kotlin.plugin.compose) | ||
alias(libs.plugins.kotlin.plugin.serialization) | ||
} | ||
|
||
compose { | ||
resources { | ||
generateResClass = ResourcesExtension.ResourceClassGeneration.Always | ||
} | ||
} | ||
|
||
yarn.lockFileName = "kotlin-yarn.lock" | ||
yarn.lockFileDirectory = rootProject.projectDir | ||
|
||
kotlin { | ||
applyDefaultHierarchyTemplate() | ||
|
||
@OptIn(ExperimentalWasmDsl::class) | ||
wasmJs { | ||
moduleName = "link" | ||
|
||
browser() | ||
|
||
binaries.executable() | ||
} | ||
|
||
sourceSets { | ||
named("wasmJsMain") { | ||
dependencies { | ||
implementation(compose.components.resources) | ||
implementation(compose.material3) | ||
implementation(compose.runtime) | ||
implementation(compose.ui) | ||
implementation(libs.coil.compose.core) | ||
implementation(libs.coil.network.ktor) | ||
implementation(libs.gw2api.client) | ||
implementation(libs.gw2api.client.ktor) | ||
implementation(libs.gw2chatlinks) | ||
implementation(libs.ktor.client.core) | ||
} | ||
} | ||
} | ||
} | ||
|
||
repositories { | ||
mavenCentral() | ||
maven(url = "https://maven.pkg.jetbrains.space/kotlin/p/wasm/experimental") | ||
maven(url = "https://maven.pkg.jetbrains.space/kotlin/p/kotlin/dev/") | ||
maven(url = "https://oss.sonatype.org/content/repositories/snapshots") | ||
} |
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 @@ | ||
/modules/*/src/*-generated/** text=auto eol=lf | ||
gradlew text eol=lf |
Validating CODEOWNERS rules …
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 @@ | ||
* @TheMrMilchmann |
Oops, something went wrong.