This commit is contained in:
Cryptite
2023-06-12 11:24:33 -05:00
parent 5920aced80
commit 182af09174
2 changed files with 3 additions and 20 deletions

View File

@@ -78,28 +78,11 @@ tasks.generateDevelopmentBundle {
libraryRepositories.set( libraryRepositories.set(
listOf( listOf(
"https://repo.maven.apache.org/maven2/", "https://repo.maven.apache.org/maven2/",
"https://test.lokamc.org:444/releases", // This should be a repo hosting your API (in this example, 'com.example.paperfork:slice-api'),
paperMavenPublicUrl paperMavenPublicUrl
) )
) )
} }
allprojects {
// Publishing API:
// ./gradlew :Slice-API:publish[ToMavenLocal]
publishing {
repositories {
maven {
name = "Ysera"
url = uri("https://test.lokamc.com:444/releases")
// See Gradle docs for how to provide credentials to PasswordCredentials
// https://docs.gradle.org/current/samples/sample_publishing_credentials.html
credentials(PasswordCredentials::class)
}
}
}
}
publishing { publishing {
// Publishing dev bundle: // Publishing dev bundle:
// ./gradlew publishDevBundlePublicationTo(MavenLocal|MyRepoSnapshotsRepository) -PpublishDevBundle // ./gradlew publishDevBundlePublicationTo(MavenLocal|MyRepoSnapshotsRepository) -PpublishDevBundle

View File

@@ -1,8 +1,8 @@
group=com.lokamc.slice group=com.lokamc.slice
version=1.19.4-R0.1-SNAPSHOT version=1.20-R0.1-SNAPSHOT
mcVersion=1.19.4 mcVersion=1.20
paperRef=d8e07590e30e81b855312c6d00b34e8155da0920 paperRef=f4dfdcbb5b287b1f42b31cb3a2ddada9bbf81703
org.gradle.caching=true org.gradle.caching=true
org.gradle.parallel=true org.gradle.parallel=true