File tree Expand file tree Collapse file tree 4 files changed +12
-10
lines changed
src/main/kotlin/dev/slne/surf/surfapi/gradle/platform/common Expand file tree Collapse file tree 4 files changed +12
-10
lines changed Original file line number Diff line number Diff 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}
Original file line number Diff line number Diff line change @@ -45,11 +45,11 @@ kapt {
4545
4646publishing {
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 }
Original file line number Diff line number Diff 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
1716group = groupId
18- version = " $mcVersion -1.0.92-SNAPSHOT "
17+ version = " $mcVersion -1.0.93 "
1918
2019repositories {
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}
Original file line number Diff line number Diff 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" ,
You can’t perform that action at this time.
0 commit comments