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.daanvanyperen:artemis-odb-contrib:2.2.0'
}
dependencies {
implementation("com.github.daanvanyperen:artemis-odb-contrib:2.2.0")
}
<dependency>
<groupId>com.github.daanvanyperen</groupId>
<artifactId>artemis-odb-contrib</artifactId>
<version>2.2.0</version>
</dependency>
libraryDependencies += "com.github.daanvanyperen" % "artemis-odb-contrib" % "2.2.0"
:dependencies [[com.github.daanvanyperen/artemis-odb-contrib "2.2.0"]]
Drop-in extensions for artemis-odb. Event bus, scheduled operations, deferred systems, profiler, abstract and prefab systems, components and networking. Well, eventually anyway.
If you want to quickly prototype a game without getting bogged down by the details of entity component systems, this package will help get you started.
I use this toolkit for jam games. You are welcome to use it for whatever you need!
Alternatively, if you want to properly set up artemis-odb + libgdx or playn with all fancy features, check out these instead:
Artemis-odb 2.4.0-SNAPSHOT, (Optional) LibGDX 1.9.14.
This work is licensed under MIT License except some small snippets from LibGDX are licensed under Apache 2.0. Apache 2.0 license can be found under contrib-core\LICENSE.libgdx.
SPDX-License-Identifier: MIT AND Apache-2.0
<dependency>
<groupId>net.mostlyoriginal.artemis-odb</groupId>
<artifactId>contrib-core</artifactId>
<version>2.4.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>net.mostlyoriginal.artemis-odb</groupId>
<artifactId>contrib-eventbus</artifactId>
<version>2.4.0-SNAPSHOT</version>
</dependency>
dependencies {
compile "net.mostlyoriginal.artemis-odb:contrib-core:2.4.0-SNAPSHOT"
compile "net.mostlyoriginal.artemis-odb:contrib-eventbus:2.4.0-SNAPSHOT"
}