Step 1. Add the JitPack repository to your build file
Add it in your root settings.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Add it in your settings.gradle.kts at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
Add to pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add it in your build.sbt at the end of resolvers:
resolvers += "jitpack" at "https://jitpack.io"
Add it in your project.clj at the end of repositories:
:repositories [["jitpack" "https://jitpack.io"]]
Step 2. Add the dependency
dependencies {
implementation 'com.github.jfoenixadmin:jfoenix:'
}
dependencies {
implementation("com.github.jfoenixadmin:jfoenix:")
}
<dependency>
<groupId>com.github.jfoenixadmin</groupId>
<artifactId>jfoenix</artifactId>
<version></version>
</dependency>
libraryDependencies += "com.github.jfoenixadmin" % "jfoenix" % ""
:dependencies [[com.github.jfoenixadmin/jfoenix ""]]
Feel free to create a pull request for adding a link to your project in JFoenix github.
If you like JFoenix :) and want to support this project, you can become a backer on <a href="https://www.patreon.com/shadishaheen">Patreon</a> or <a href="https://opencollective.com/jfoenix">Open Collective</a>.
To build JFoenix, execute the following command:
gradlew build
To run the main demo, execute the following command:
gradlew run
NOTE : You need to set JAVA_HOME environment variable to point to Java 1.8 directory.
NOTE : JFoenix requires Java 1.8u60 and above.
For detailed steps on getting the demo running, see the wiki.
You can download the source code of the library and build it as mentioned previously. Building JFoenix will generate jfoenix-0.0.0-SNAPSHOT.jar under the jfoenix/build/libs folder. To use JFoenix, import jfoenix-0.0.0-SNAPSHOT.jar into your project and start using the new material design Java components :).
repositories {
mavenCentral()
}
Reference the repository from this location using:
Java 9+
dependencies {
compile 'com.jfoenix:jfoenix:9.0.10'
}
Java 8
dependencies {
compile 'com.jfoenix:jfoenix:8.0.10'
}
Java 9+
<dependency>
<groupId>com.jfoenix</groupId>
<artifactId>jfoenix</artifactId>
<version>9.0.10</version>
</dependency>
Java 8
<dependency>
<groupId>com.jfoenix</groupId>
<artifactId>jfoenix</artifactId>
<version>8.0.10</version>
</dependency>
This project exists thanks to all the people who contribute.
<a href="https://github.com/jfoenixadmin/JFoenix/contributors"><img src="https://opencollective.com/JFoenix/contributors.svg?width=890&button=false" /></a>
Special thanks to <a href="https://www.jetbrains.com">JetBrains</a> and <a href="https://www.ej-technologies.com/products/jprofiler/overview.html">JProfiler</a> for their support to this project.