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