Skip to content

Commit b1eeec8

Browse files
authored
Merge pull request #27
ci: add publish.yml?
2 parents 9329ffa + f73d449 commit b1eeec8

File tree

4 files changed

+12
-10
lines changed

4 files changed

+12
-10
lines changed

buildSrc/build.gradle.kts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,5 @@ dependencies {
1010
implementation(libs.kotlin.gradle.plugin)
1111
implementation(libs.shadow.gradle.plugin)
1212
implementation(libs.ksp.gradle.plugin)
13-
implementation(libs.maven.repo.auth)
1413
implementation(files(libs.javaClass.superclass.protectionDomain.codeSource.location))
1514
}

buildSrc/src/main/kotlin/core-convention.gradle.kts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,11 @@ kapt {
4545

4646
publishing {
4747
repositories {
48-
maven("https://repo.slne.dev/repository/maven-snapshots/") {
49-
name = "maven-snapshots"
48+
maven("https://repo.slne.dev/repository/maven-snapshots/") {
49+
name = "maven-snapshots"
5050
credentials {
51-
username = System.getenv("MAVEN_USERNAME")
52-
password = System.getenv("MAVEN_PASSWORD")
51+
username = System.getenv("MAVEN_SNAPSHOTS_USERNAME")
52+
password = System.getenv("MAVEN_SNAPSHOTS_PASSWORD")
5353
}
5454
}
5555
}

surf-api-gradle-plugin/build.gradle.kts

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,10 @@ plugins {
1111

1212
id("com.gradle.plugin-publish") version "1.3.0"
1313
// alias(libs.plugins.maven.repo.auth)
14-
id(libs.plugins.maven.repo.auth.get().pluginId)
1514
}
1615

1716
group = groupId
18-
version = "$mcVersion-1.0.92-SNAPSHOT"
17+
version = "$mcVersion-1.0.93"
1918

2019
repositories {
2120
mavenCentral()
@@ -27,7 +26,6 @@ val pluginDependencies = listOf(
2726
libs.kotlin.all.open,
2827
libs.kotlin.no.arg,
2928
libs.kotlin.serialization,
30-
libs.maven.repo.auth,
3129
libs.shadow.gradle.plugin,
3230
libs.run.paper.gradle.plugin,
3331
libs.plugin.yml.paper.gradle.plugin
@@ -70,7 +68,13 @@ gradlePlugin {
7068

7169
publishing {
7270
repositories {
73-
maven("https://repo.slne.dev/repository/maven-unsafe/") { name = "maven-unsafe" }
71+
maven("https://repo.slne.dev/repository/maven-releases/") {
72+
name = "maven-releases"
73+
credentials {
74+
username = System.getenv("MAVEN_RELEASES_USERNAME")
75+
password = System.getenv("MAVEN_RELEASES_PASSWORD")
76+
}
77+
}
7478
}
7579
}
7680
}

surf-api-gradle-plugin/src/main/kotlin/dev/slne/surf/surfapi/gradle/platform/common/CommonSurfPlugin.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ abstract class CommonSurfPlugin<E : CommonSurfExtension>(
2424
private val commonPlugins = listOf(
2525
"org.gradle.java-gradle-plugin",
2626
"org.gradle.java-library",
27-
"org.hibernate.build.maven-repo-auth",
2827
"org.gradle.maven-publish",
2928
"org.jetbrains.kotlin.jvm",
3029
"org.jetbrains.kotlin.kapt",

0 commit comments

Comments
 (0)