Reworked PinConfig with required parameters, etc.

This commit is contained in:
Erik C. Thauvin 2024-05-25 15:34:40 -07:00
parent 0f9606391e
commit 9036a32239
Signed by: erik
GPG key ID: 776702A6A2DA330E
12 changed files with 94 additions and 57 deletions

View file

@ -1,6 +1,6 @@
bld.downloadExtensionJavadoc=false
bld.downloadExtensionSources=true
bld.extensions=com.uwyn.rife2:bld-kotlin:0.9.4
bld.extensions=com.uwyn.rife2:bld-kotlin:0.9.7
bld.repositories=MAVEN_LOCAL,MAVEN_CENTRAL,RIFE2_SNAPSHOTS,RIFE2_RELEASES
bld.downloadLocation=
bld.sourceDirectories=

View file

@ -31,9 +31,7 @@ public class JavaExample {
if (poster.validate()) {
// Add Pin
if (poster.addPin(new PinConfig.Builder()
.url(url)
.description("Testing")
if (poster.addPin(new PinConfig.Builder(url, "Testing")
.extended("Extra")
.tags("test", "java")
.build())) {