Skip to content

Commit b94066b

Browse files
Move commons-provider into its own repository
1 parent 2b32d00 commit b94066b

File tree

89 files changed

+56
-2948
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+56
-2948
lines changed

build.gradle.kts

Lines changed: 45 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,50 @@
11
plugins {
2-
id("commons.dokka-conventions")
2+
`java-library`
3+
`maven-publish`
4+
alias(libs.plugins.kotlin)
5+
alias(libs.plugins.dokka)
6+
}
7+
8+
group = "xyz.xenondevs.commons"
9+
version = "2.0.0-alpha.6"
10+
11+
repositories {
12+
mavenCentral()
13+
maven("https://repo.xenondevs.xyz/releases/")
314
}
415

516
dependencies {
6-
dokka(project(":commons-collections"))
7-
dokka(project(":commons-gson"))
8-
dokka(project(":commons-guava"))
9-
dokka(project(":commons-provider"))
10-
dokka(project(":commons-reflection"))
11-
dokka(project("commons-tuple"))
12-
dokka(project("commons-version"))
17+
api(libs.kotlin.stdlib)
18+
api(libs.commons.tuple)
19+
testImplementation(platform(libs.junit.bom))
20+
testImplementation(libs.junit.jupiter)
21+
testImplementation(libs.junit.platformLauncher)
22+
testImplementation(libs.kotlin.test.junit)
23+
}
24+
25+
java {
26+
withSourcesJar()
27+
}
28+
29+
tasks {
30+
test {
31+
useJUnitPlatform()
32+
maxParallelForks = Runtime.getRuntime().availableProcessors()
33+
}
34+
}
35+
36+
publishing {
37+
repositories {
38+
maven {
39+
credentials {
40+
name = "xenondevs"
41+
url = uri { "https://repo.xenondevs.xyz/releases/" }
42+
credentials(PasswordCredentials::class)
43+
}
44+
}
45+
}
46+
47+
publications.create<MavenPublication>("maven") {
48+
from(components["java"])
49+
}
1350
}

buildSrc/build.gradle.kts

Lines changed: 0 additions & 15 deletions
This file was deleted.

buildSrc/settings.gradle.kts

Lines changed: 0 additions & 7 deletions
This file was deleted.

buildSrc/src/main/kotlin/commons.common-conventions.gradle.kts

Lines changed: 0 additions & 57 deletions
This file was deleted.

buildSrc/src/main/kotlin/commons.dokka-conventions.gradle.kts

Lines changed: 0 additions & 7 deletions
This file was deleted.

commons-collections/build.gradle.kts

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)