Skip to content

Commit cad0f45

Browse files
committed
Removing loader from being published. Cleaning up publications for maven and setting correct github url.
1 parent 7978bcf commit cad0f45

File tree

3 files changed

+4
-63
lines changed

3 files changed

+4
-63
lines changed

cache/build.gradle.kts

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plugins {
44
signing
55
}
66

7-
version = "1.2.0"
7+
version = "1.6.0"
88

99
java {
1010
withJavadocJar()
@@ -13,12 +13,12 @@ java {
1313

1414
publishing {
1515
publications {
16-
create<MavenPublication>("mavenJava") {
16+
create<MavenPublication>("maven") {
1717
pom {
1818
packaging = "jar"
1919
name.set("Xlite Cache Library")
2020
description.set("Cache Library for reading and writing from the jagex cache.")
21-
url.set("https://github.com/xlite2/cache-lib")
21+
url.set("https://github.com/runetopic/cache-lib")
2222

2323
developers {
2424
developer {
@@ -40,10 +40,6 @@ publishing {
4040
}
4141
}
4242

43-
artifact(tasks["javadocJar"])
44-
artifact(tasks["sourcesJar"])
45-
}
46-
create<MavenPublication>("maven") {
4743
groupId = project.group.toString()
4844
artifactId = project.name
4945
version = project.version.toString()
@@ -68,7 +64,7 @@ publishing {
6864
}
6965

7066
signing {
71-
sign(publishing.publications["mavenJava"])
67+
sign(publishing.publications["maven"])
7268
}
7369

7470
dependencies {

loader/build.gradle.kts

Lines changed: 0 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -11,60 +11,6 @@ java {
1111
withSourcesJar()
1212
}
1313

14-
publishing {
15-
publications {
16-
create<MavenPublication>("mavenJava") {
17-
pom {
18-
name.set("Xlite Cache Library Type Loaders")
19-
description.set("Definition types of runescape files.")
20-
url.set("https://github.com/xlite2/cache-lib")
21-
22-
developers {
23-
developer {
24-
id.set("tylert")
25-
name.set("Tyler Telis")
26-
email.set("xlitersps@gmail.com")
27-
}
28-
29-
developer {
30-
id.set("ultraviolet-jordan")
31-
name.set("Jordan Abraham")
32-
}
33-
}
34-
35-
36-
artifact(tasks["javadocJar"])
37-
artifact(tasks["sourcesJar"])
38-
}
39-
}
40-
create<MavenPublication>("maven") {
41-
groupId = project.group.toString()
42-
artifactId = project.name
43-
version = project.version.toString()
44-
45-
from(components["java"])
46-
}
47-
repositories {
48-
val ossrhUsername: String by project
49-
val ossrhPassword: String by project
50-
51-
maven {
52-
val releasesRepoUrl = uri("https://s01.oss.sonatype.org/content/repositories/releases/")
53-
val snapshotsRepoUrl = uri("https://s01.oss.sonatype.org/content/repositories/snapshots/")
54-
url = if (version.toString().endsWith("SNAPSHOT")) snapshotsRepoUrl else releasesRepoUrl
55-
credentials {
56-
username = ossrhUsername
57-
password = ossrhPassword
58-
}
59-
}
60-
}
61-
}
62-
}
63-
64-
signing {
65-
sign(publishing.publications["mavenJava"])
66-
}
67-
6814
dependencies {
6915
implementation(project(":cache"))
7016
}

settings.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,3 @@ dependencyResolutionManagement {
1717

1818
include("app")
1919
include("cache")
20-
include("loader")

0 commit comments

Comments
 (0)