Skip to content

Commit

Permalink
Add repositories configuration to gradle/maven sections in guide. Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
aalmiray committed May 1, 2016
1 parent 44f329e commit 5e8aa6e
Showing 1 changed file with 44 additions and 12 deletions.
56 changes: 44 additions & 12 deletions subprojects/guide/src/asciidoc/usage.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,34 @@ You may use this class with any Swing component that supports an Icon property.
[subs="attributes"]
.gradle
----
compile '{project-group}:ikonli-swing:{project-version}'
repositories {
jcenter()
}
dependencies {
compile '{project-group}:ikonli-swing:{project-version}'
}
----

[source,xml]
[subs="attributes,verbatim"]
.maven
----
<dependency>
<groupId>{project-group}</groupId>
<artifactId>ikonli-swing</artifactId>
<version>{project-version}</version>
</dependency>
<dependencies>
<dependency>
<groupId>{project-group}</groupId>
<artifactId>ikonli-swing</artifactId>
<version>{project-version}</version>
</dependency>
</dependencies>
<repositories>
<repository>
<id>central</id>
<name>jcenter</name>
<url>http://jcenter.bintray.com</url>
</repository>
</repositories>
----

== JavaFX
Expand Down Expand Up @@ -122,16 +138,32 @@ in the following example
[subs="attributes"]
.gradle
----
compile '{project-group}:ikonli-javafx:{project-version}'
repositories {
jcenter()
}
dependencies {
compile '{project-group}:ikonli-javafx:{project-version}'
}
----

[source,xml]
[subs="attributes,verbatim"]
.maven
----
<dependency>
<groupId>{project-group}</groupId>
<artifactId>ikonli-javafx</artifactId>
<version>{project-version}</version>
</dependency>
<dependencies>
<dependency>
<groupId>{project-group}</groupId>
<artifactId>ikonli-javafx</artifactId>
<version>{project-version}</version>
</dependency>
</dependencies>
<repositories>
<repository>
<id>central</id>
<name>jcenter</name>
<url>http://jcenter.bintray.com</url>
</repository>
</repositories>
----

0 comments on commit 5e8aa6e

Please sign in to comment.