FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Publish `org.processing.core.pdf` to maven Central by avinxshKD · Pull Request #1407 · processing/processing4 · GitHub

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .kts  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
48 changes: 47 additions & 1 deletion java/libraries/pdf/build.gradle.kts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import com.vanniktech.maven.publish.SonatypeHost

plugins{
java
alias(libs.plugins.mavenPublish)
Comment thread
Stefterv marked this conversation as resolved.
}

sourceSets {
Expand Down Expand Up @@ -37,4 +40,47 @@ tasks.register<Copy>("createLibrary"){
into("library")
rename { "pdf.jar" }
}
}
}

publishing{
repositories{
maven {
name = "App"
url = uri(project(":app").layout.buildDirectory.dir("resources-bundled/common/repository").get().asFile.absolutePath)
}
}
}

mavenPublishing{
coordinates("$group.core", name, version.toString())
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL, automaticRelease = true)
Comment thread
Stefterv marked this conversation as resolved.

signAllPublications()

pom{
name.set("Processing PDF")
description.set("Processing PDF")
url.set("https://processing.org")
licenses {
license {
name.set("LGPL")
url.set("https://www.gnu.org/licenses/lgpl-2.1.html")
}
}
developers {
developer {
id.set("steftervelde")
name.set("Stef Tervelde")
}
developer {
id.set("benfry")
name.set("Ben Fry")
}
}
scm{
url.set("https://github.com/processing/processing4")
connection.set("scm:git:git://github.com/processing/processing4.git")
developerConnection.set("scm:git:ssh://git@github.com/processing/processing4.git")
}
}
}

Back | FazBrowse Home | New Git URL