GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — publish pdf library · processing/processing4@dd75209

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • java/libraries/pdf
    • build.gradle.kts
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎java/libraries/pdf/build.gradle.kts‎

Copy file name to clipboardExpand all lines: java/libraries/pdf/build.gradle.kts
+48-1Lines changed: 48 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
1+
import com.vanniktech.maven.publish.SonatypeHost
2+
13
plugins{
24
java
5+
alias(libs.plugins.mavenPublish)
36
}
47

58
sourceSets {
@@ -37,4 +40,48 @@ tasks.register<Copy>("createLibrary"){
3740
into("library")
3841
rename { "pdf.jar" }
3942
}
40-
}
43+
}
44+
45+
publishing{
46+
repositories{
47+
maven {
48+
name = "App"
49+
url = uri(project(":app").layout.buildDirectory.dir("resources-bundled/common/repository").get().asFile.absolutePath)
50+
}
51+
}
52+
}
53+
54+
mavenPublishing{
55+
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL, automaticRelease = true)
56+
57+
// Only sign if signing is set up
58+
if(project.hasProperty("signing.keyId") || project.hasProperty("signingInMemoryKey"))
59+
signAllPublications()
60+
61+
pom{
62+
name.set("Processing PDF Library")
63+
description.set("Processing PDF Library")
64+
url.set("https://processing.org")
65+
licenses {
66+
license {
67+
name.set("LGPL")
68+
url.set("https://www.gnu.org/licenses/lgpl-2.1.html")
69+
}
70+
}
71+
developers {
72+
developer {
73+
id.set("steftervelde")
74+
name.set("Stef Tervelde")
75+
}
76+
developer {
77+
id.set("benfry")
78+
name.set("Ben Fry")
79+
}
80+
}
81+
scm{
82+
url.set("https://github.com/processing/processing4")
83+
connection.set("scm:git:git://github.com/processing/processing4.git")
84+
developerConnection.set("scm:git:ssh://[email protected]/processing/processing4.git")
85+
}
86+
}
87+
}

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.