nkolban / jpigpio

A Java interface to the Raspberry Pi pigpio library
Apache License 2.0
39 stars 11 forks source link

JFrog Bintray #10

Open hexagon-robotics opened 7 years ago

hexagon-robotics commented 7 years ago

Hi!,

Can you upload the library to Bintray to use it with Gradle?

https://bintray.com/search?query=jpigpio

Best regards, Javier

sovcik commented 7 years ago

That bintray.com is interesting. I've uploaded most recent build from my fork (which is currently in sync with Niel's master) - you can use it until Neil decides to publish it officially :-)

I created it as Mave repo (looks like to use from Gradle should be pretty simple - according to JFrog ... and assuming I've configured it properly :-) )

hexagon-robotics commented 7 years ago

Thank you!

I have added to my build.gradle file but not works. "The import jpigpio cannot be resolved"

repositories { // Use 'jcenter' for resolving your dependencies. // You can declare any Maven/Ivy/file repository here. jcenter() mavenLocal() mavenCentral() maven {
url "http://dl.bintray.com/jerady/maven" url "http://dl.bintray.com/hansolo/Enzo" url "http://dl.bintray.com/jozef/pub-java"
} }

dependencies { // The production code uses the SLF4J logging API at compile time compile 'org.slf4j:slf4j-api:1.7.21' compile 'com.lynden:GMapsFX:2.0.9' compile 'eu.hansolo:colors:1.+' compile 'eu.hansolo:Medusa:4.+'
compile 'de.jensd:fontawesomefx-commons:8.12' compile 'de.jensd:fontawesomefx-controls:8.12' compile 'de.jensd:fontawesomefx-fontawesome:4.6.3' compile 'de.jensd:fontawesomefx-materialicons:2.2.0' compile 'de.jensd:fontawesomefx-octicons:4.3.0' compile 'de.jensd:fontawesomefx-icons525:2.6.0' compile 'de.jensd:fontawesomefx-weathericons:2.0-3' compile 'de.jensd:shichimifx:1.0.5' compile 'de.dimaki:refuel:0.0.5' compile 'org.apache.httpcomponents:httpclient:4.3.6' compile 'org.controlsfx:controlsfx:8.40.11' compile 'eu.hansolo.enzo:Enzo:0.3.6' compile 'jozef:pub-java:JPigpio:1.0.10-js'

This line I made up:

compile 'jozef:pub-java:JPigpio:1.0.10-js'

What would be the correct path?

Best regards