Browse Source

Replace openrs2.dev with openrs2.org

Signed-off-by: Graham <gpe@openrs2.org>
pull/132/head
Graham 1 year ago
parent
commit
159df1eda7
  1. 4
      .drone.yml
  2. 10
      README.md
  3. 28
      build.gradle.kts
  4. 2
      etc/config.example.yaml

4
.drone.yml

@ -4,12 +4,12 @@ name: default
steps:
- name: build
image: registry.openrs2.dev/openrs2-dev
image: registry.openrs2.org/openrs2-dev
commands:
- ./gradlew --no-daemon clean build
- name: deploy
image: registry.openrs2.dev/openrs2-dev
image: registry.openrs2.org/openrs2-dev
commands:
- install -dm0700 $${HOME}/.ssh
- echo -n "$${SSH_KEY}" > $${HOME}/.ssh/id_ed25519

10
README.md

@ -132,15 +132,15 @@ available in the `LICENSE` file.
[commitmsg]: https://chris.beams.io/posts/git-commit/#seven-rules
[dco]: https://developercertificate.org/
[discord-badge]: https://img.shields.io/discord/684495254145335298
[discord]: https://chat.openrs2.dev/
[drone-badge]: https://build.openrs2.dev/api/badges/openrs2/openrs2/status.svg
[drone]: https://build.openrs2.dev/openrs2/openrs2/
[discord]: https://chat.openrs2.org/
[drone-badge]: https://build.openrs2.org/api/badges/openrs2/openrs2/status.svg
[drone]: https://build.openrs2.org/openrs2/openrs2/
[idea]: https://www.jetbrains.com/idea/
[isc-badge]: https://img.shields.io/badge/license-ISC-informational
[isc]: https://opensource.org/licenses/ISC
[jdk]: https://jdk.java.net/
[kdoc]: https://docs.openrs2.dev/
[kdoc]: https://docs.openrs2.org/
[ktlint]: https://github.com/pinterest/ktlint#readme
[rewriting-history]: https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History
[semver]: https://semver.org/
[www]: https://www.openrs2.dev/
[www]: https://www.openrs2.org/

28
build.gradle.kts

@ -24,15 +24,15 @@ repositories {
}
allprojects {
group = "dev.openrs2"
group = "org.openrs2"
version = "0.1.0-SNAPSHOT"
repositories {
mavenCentral()
jcenter()
maven(url = "https://repo.openrs2.dev/repository/openrs2")
maven(url = "https://repo.openrs2.org/repository/openrs2")
mavenLocal()
maven(url = "https://repo.openrs2.dev/repository/openrs2-snapshots")
maven(url = "https://repo.openrs2.org/repository/openrs2-snapshots")
}
plugins.withType<BasePlugin> {
@ -144,7 +144,7 @@ configure(subprojects.filter { it.isFree }) {
sourceLink {
localDirectory.set(rootDir)
remoteUrl.set(URL("https://git.openrs2.dev/openrs2/openrs2/src/commit/${commitHash()}"))
remoteUrl.set(URL("https://git.openrs2.org/openrs2/openrs2/src/commit/${commitHash()}"))
remoteLineSuffix.set("#L")
}
@ -247,9 +247,9 @@ configure(subprojects.filter { it.isFree }) {
maven {
name = "openrs2"
url = if (version.toString().endsWith("-SNAPSHOT")) {
uri("https://repo.openrs2.dev/repository/openrs2-snapshots")
uri("https://repo.openrs2.org/repository/openrs2-snapshots")
} else {
uri("https://repo.openrs2.dev/repository/openrs2")
uri("https://repo.openrs2.org/repository/openrs2")
}
credentials(PasswordCredentials::class)
@ -260,12 +260,12 @@ configure(subprojects.filter { it.isFree }) {
artifactId = "openrs2-${project.name}"
pom {
url.set("https://www.openrs2.dev/")
url.set("https://www.openrs2.org/")
inceptionYear.set("2019")
organization {
name.set("OpenRS2 Authors")
url.set("https://www.openrs2.dev/")
url.set("https://www.openrs2.org/")
}
licenses {
@ -276,19 +276,19 @@ configure(subprojects.filter { it.isFree }) {
}
scm {
connection.set("scm:git:https://git.openrs2.dev/openrs2/openrs2.git")
developerConnection.set("scm:git:git@git.openrs2.dev:openrs2/openrs2.git")
url.set("https://git.openrs2.dev/openrs2/openrs2")
connection.set("scm:git:https://git.openrs2.org/openrs2/openrs2.git")
developerConnection.set("scm:git:git@git.openrs2.org:openrs2/openrs2.git")
url.set("https://git.openrs2.org/openrs2/openrs2")
}
issueManagement {
system.set("Gitea")
url.set("https://git.openrs2.dev/openrs2/openrs2")
url.set("https://git.openrs2.org/openrs2/openrs2")
}
ciManagement {
system.set("Drone")
url.set("https://build.openrs2.dev/openrs2/openrs2/")
url.set("https://build.openrs2.org/openrs2/openrs2/")
}
}
}
@ -321,7 +321,7 @@ tasks.register<Exec>("publishDokka") {
"--delete",
"-rtz",
"$buildDir/dokka/htmlCollector/",
"build@docs.openrs2.dev:/srv/www/docs"
"build@docs.openrs2.org:/srv/www/docs"
)
}

2
etc/config.example.yaml

@ -7,4 +7,4 @@ game: "OpenRS2"
operator: "OpenRS2"
# The game's domain name. All references to "runescape.com" are replaced with
# this string. It should, at a minimum, have `www` and `www-wtqa` hostnames.
domain: "openrs2.dev"
domain: "openrs2.org"

Loading…
Cancel
Save