-
Notifications
You must be signed in to change notification settings - Fork 26
General Library Integration
Anton Chekulaev edited this page Jun 18, 2020
·
11 revisions
There are various ways the library can be included in the project. They have different pros and cons and are sorted in order of convenience.
The library's stable releases are available through maven central repo.
Add it in your root build.gradle
at the end of repositories:
allprojects {
repositories {
mavenCentral()
}
}
Add the dependencies:
dependencies {
api 'com.crashinvaders.vfx:gdx-vfx-core:0.5.0'
api 'com.crashinvaders.vfx:gdx-vfx-effects:0.5.0' // Optional, if you need standard filter/effects.
}
Download JAR artifacts from releases page and attach them to the project.
Put the downloaded gdx-vfx-core.jar
and gdx-vfx-effects.jar
into /core/libs
dir and add them as dependencies.
/core/build.gradle:
dependencies {
// ...
api fileTree(dir: 'libs', include: ['*.jar'])
}
- Clone the repository into a local directory.
git clone https://github.com/crashinvaders/gdx-vfx.git
- Install local maven archetype using gradle task (maven should be installed on the system and added to the PATH).
./gradlew gdx-vfx:core:install gdx-vfx:effects:install gdx-vfx:gwt:install
- Include the library from a local maven repository.
/core/build.gradle:
repositories {
// ...
mavenLocal()
}
dependencies {
// ...
api "com.crashinvaders.vfx:gdx-vfx-core:0.+"
api "com.crashinvaders.vfx:gdx-vfx-effects:0.+"
}
- Library Overview
- Connect the Library
- Use the Library
- VFX Frame Buffer
- Built-in Effects
- Changelog