Skip to content

Commit

Permalink
1.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
FiLKoNd committed Nov 10, 2024
1 parent 8d38652 commit 9ad0ba7
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 29 deletions.
50 changes: 23 additions & 27 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import org.gradle.kotlin.dsl.test

plugins {
kotlin("jvm") version "2.0.21"
id("com.gradleup.shadow") version "8.3.3"
Expand All @@ -15,7 +13,7 @@ subprojects {
apply(plugin = "maven-publish")

group = "com.filkond"
version = "1.0.6"
version = "1.0.7"

repositories {
mavenCentral()
Expand Down Expand Up @@ -72,32 +70,30 @@ subprojects {
useJUnitPlatform()
}

if (!project.name.contains("plugin")) {
configure<PublishingExtension> {
repositories {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/FiLKoNd/paperKtLib")
credentials {
username = project.findProperty("gpr.user") as String? ?: System.getenv("GITHUB_USERNAME")
password = project.findProperty("gpr.key") as String? ?: System.getenv("GITHUB_TOKEN")
}
configure<PublishingExtension> {
repositories {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/FiLKoNd/paperKtLib")
credentials {
username = project.findProperty("gpr.user") as String? ?: System.getenv("GITHUB_USERNAME")
password = project.findProperty("gpr.key") as String? ?: System.getenv("GITHUB_TOKEN")
}
}
publications {
create<MavenPublication>(project.name) {
artifact(tasks["sourcesJar"])
artifact(tasks["javadocJar"])
artifact(tasks.shadowJar)
artifactId = project.name
groupId = project.group.toString()
version = project.version.toString()
pom {
developers {
developer {
id = "FiLKoNd"
email = "[email protected]"
}
}
publications {
create<MavenPublication>(project.name) {
artifact(tasks["sourcesJar"])
artifact(tasks["javadocJar"])
artifact(tasks.shadowJar)
artifactId = project.name
groupId = project.group.toString()
version = project.version.toString()
pom {
developers {
developer {
id = "FiLKoNd"
email = "[email protected]"
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions paperktlib-config/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ plugins {
}

dependencies {
implementation(project(":paperktlib-adventure"))
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.3")
compileOnly(project(":paperktlib-adventure"))
compileOnly("org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.3")
}
5 changes: 5 additions & 0 deletions paperktlib-plugin/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
plugins {
kotlin("plugin.serialization") version "2.0.21"
}

dependencies {
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.3")
implementation(kotlin("reflect"))

implementation(project(":paperktlib-towny"))
Expand Down

0 comments on commit 9ad0ba7

Please sign in to comment.