Skip to content
Fruit-Punch-Samurai edited this page Aug 13, 2021 · 4 revisions

Old method (deprecated since JCenter was shutdown):

All artifacts are hosted in Bintray, it is also linked to JCenter.

repositories {
    jcenter() // add this line
    maven { url `https://bintray.com/hendraanggrian/ktfx` } // or this one
}

New method:

Refer to this issue for more infos.

repositories {
    maven { url `https://s01.oss.sonatype.org/content/repositories/snapshots/` } // add this line
}

Main artifacts

To download all of the main artifacts (Commons, Layouts, Listeners and Coroutines), use:

dependencies {
    compile 'com.hendraanggrian.ktfx:ktfx:$version'
}

Or download separate libraries if only specific artifacts are desired:

dependencies {
    compile 'com.hendraanggrian.ktfx:ktfx-commons:$version'
    compile 'com.hendraanggrian.ktfx:ktfx-layouts:$version'
    compile 'com.hendraanggrian.ktfx:ktfx-listeners:$version'
    compile 'com.hendraanggrian.ktfx:ktfx-coroutines:$version'
}

Third-party artifacts

There are also a number of third-party extensions, using the same format as the main artifacts:

dependencies {
    compile 'com.hendraanggrian.ktfx:ktfx-controlsfx:$version'
    compile 'com.hendraanggrian.ktfx:ktfx-controlsfx-commons:$version'
    compile 'com.hendraanggrian.ktfx:ktfx-controlsfx-layouts:$version'
    compile 'com.hendraanggrian.ktfx:ktfx-controlsfx-listeners:$version'
    compile 'com.hendraanggrian.ktfx:ktfx-controlsfx-coroutines:$version'

    compile 'com.hendraanggrian.ktfx:ktfx-jfoenix:$version'
    compile 'com.hendraanggrian.ktfx:ktfx-jfoenix-commons:$version'
    compile 'com.hendraanggrian.ktfx:ktfx-jfoenix-layouts:$version'
    compile 'com.hendraanggrian.ktfx:ktfx-jfoenix-listeners:$version'
    compile 'com.hendraanggrian.ktfx:ktfx-jfoenix-coroutines:$version'
}