mirror of
https://github.com/SparklyPower/SparklyPaper.git
synced 2025-12-19 15:09:27 +00:00
Fix build (hopefully)
This commit is contained in:
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@@ -31,7 +31,7 @@ jobs:
|
|||||||
- name: Build
|
- name: Build
|
||||||
run: ./gradlew build
|
run: ./gradlew build
|
||||||
- name: Publish publications and dev bundle
|
- name: Publish publications and dev bundle
|
||||||
run: ./gradlew -PpublishDevBundle publishDevBundlePublicationToPerfectDreamsRepository publishMavenPublicationToPerfectDreamsRepository
|
run: ./gradlew -PpublishDevBundle publishMavenPublicationToPerfectDreamsRepository
|
||||||
env:
|
env:
|
||||||
ORG_GRADLE_PROJECT_PerfectDreamsUsername: ${{ secrets.PERFECTDREAMS_REPO_USERNAME }}
|
ORG_GRADLE_PROJECT_PerfectDreamsUsername: ${{ secrets.PERFECTDREAMS_REPO_USERNAME }}
|
||||||
ORG_GRADLE_PROJECT_PerfectDreamsPassword: ${{ secrets.PERFECTDREAMS_REPO_PASSWORD }}
|
ORG_GRADLE_PROJECT_PerfectDreamsPassword: ${{ secrets.PERFECTDREAMS_REPO_PASSWORD }}
|
||||||
|
|||||||
@@ -75,21 +75,8 @@ subprojects {
|
|||||||
}
|
}
|
||||||
|
|
||||||
extensions.configure<PublishingExtension> {
|
extensions.configure<PublishingExtension> {
|
||||||
repositories {
|
|
||||||
/*
|
|
||||||
maven("https://repo.papermc.io/repository/maven-snapshots/") {
|
|
||||||
name = "paperSnapshots"
|
|
||||||
credentials(PasswordCredentials::class)
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
allprojects {
|
|
||||||
// Publishing API:
|
// Publishing API:
|
||||||
// ./gradlew :SparklyPaper-API:publish[ToMavenLocal]
|
// ./gradlew :sparklypaper-api:publish[ToMavenLocal]
|
||||||
publishing {
|
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
name = "PerfectDreams"
|
name = "PerfectDreams"
|
||||||
@@ -101,15 +88,3 @@ allprojects {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
publishing {
|
|
||||||
// Publishing dev bundle:
|
|
||||||
// ./gradlew publishDevBundlePublicationTo(MavenLocal|MyRepoSnapshotsRepository) -PpublishDevBundle
|
|
||||||
if (project.hasProperty("publishDevBundle")) {
|
|
||||||
publications.create<MavenPublication>("devBundle") {
|
|
||||||
artifact(tasks.generateDevelopmentBundle) {
|
|
||||||
artifactId = "dev-bundle"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user