Pages

Wednesday, October 3, 2018

Javaize a hardware: Robo4J snapshot available

This message is for those who don't want to checkout whole framework repository, build and publish it into the local maven repository. The framework is publicly available as a SNAPSHOT. It can be easily added into the build system descriptor. 

current version: alpha-0.4.4-SNAPSHOT

Happy Code ;)!


Gradle: 
repositories {
  maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
  ...
}

dependencies {
  compile "com.robo4j:robo4j-core:${robo4jVersion}"
  ...    

Maven:
<repositories>
  <repository>
    <id>oss-snapshots-repo</id>
    <name>Sonatype OSS Maven Repository</name>
      <url>https://oss.sonatype.org/content/groups/public</url>
      <snapshots>
        <enabled>true</enabled>
         <updatePolicy>always</updatePolicy>
      </snapshots>
   </repository>
</repositories>
... 
<dependency>
  <groupId>com.robo4j</groupId>
  <artifactId>robo4j-core</artifactId>
  <version>alpha-0.4.4-SNAPSHOT</version>
  ...
</dependency>

No comments: