Skip to content

Commit

Permalink
Cleaning up build.gradle files
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcinSc committed Apr 16, 2023
1 parent 8e6ba65 commit b5afc96
Show file tree
Hide file tree
Showing 12 changed files with 32 additions and 23 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ allprojects {

configure(subprojects) {
apply plugin: 'java-library'
sourceCompatibility = 7.0
sourceCompatibility = 1.7

sourceSets.main.java.srcDirs = ["src/"]
sourceSets.main.resources.srcDirs = ["resources/"]
Expand Down
2 changes: 1 addition & 1 deletion gdx-gemp-ai/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ archivesBaseName = "gdx-gemp-ai"
eclipse.project.name = "gdx-gemp-ai"

dependencies {
api "com.badlogicgames.gdx:gdx:$gdxVersion"
implementation "com.badlogicgames.gdx:gdx:$gdxVersion"

testImplementation "junit:junit:$junitVersion"
testImplementation "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
Expand Down
8 changes: 4 additions & 4 deletions gdx-gemp-box2d-artemis/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ archivesBaseName = "gdx-gemp-box2d-artemis"
eclipse.project.name = "gdx-gemp-box2d-artemis"

dependencies {
implementation project(":gdx-gemp-lib-artemis")
api "com.badlogicgames.gdx:gdx:$gdxVersion"
api "com.badlogicgames.gdx:gdx-box2d:$gdxVersion"
api "net.onedaybeard.artemis:artemis-odb:$artemisOdbVersion"
api project(":gdx-gemp-lib-artemis")
implementation "com.badlogicgames.gdx:gdx-box2d:$gdxVersion"
implementation "com.badlogicgames.gdx:gdx:$gdxVersion"
implementation "net.onedaybeard.artemis:artemis-odb:$artemisOdbVersion"
}
2 changes: 1 addition & 1 deletion gdx-gemp-camera2d/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ archivesBaseName = "gdx-gemp-camera2d"
eclipse.project.name = "gdx-gemp-camera2d"

dependencies {
api "com.badlogicgames.gdx:gdx:$gdxVersion"
implementation "com.badlogicgames.gdx:gdx:$gdxVersion"

testImplementation "junit:junit:$junitVersion"
testImplementation "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
Expand Down
2 changes: 1 addition & 1 deletion gdx-gemp-common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ archivesBaseName = "gdx-gemp-common"
eclipse.project.name = "gdx-gemp-common"

dependencies {
api "com.badlogicgames.gdx:gdx:$gdxVersion"
implementation "com.badlogicgames.gdx:gdx:$gdxVersion"
}
7 changes: 4 additions & 3 deletions gdx-gemp-lib-artemis/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ archivesBaseName = "gdx-gemp-lib-artemis"
eclipse.project.name = "gdx-gemp-lib-artemis"

dependencies {
implementation project(":gdx-gemp-template-artemis")
implementation project(":gdx-gemp-camera2d")
api "net.onedaybeard.artemis:artemis-odb:$artemisOdbVersion"
api project(":gdx-gemp-template-artemis")
api project(":gdx-gemp-camera2d")
implementation "com.badlogicgames.gdx:gdx:$gdxVersion"
implementation "net.onedaybeard.artemis:artemis-odb:$artemisOdbVersion"
testImplementation "junit:junit:$junitVersion"
}
5 changes: 4 additions & 1 deletion gdx-gemp-network-artemis/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,13 @@ eclipse.project.name = "gdx-gemp-network-artemis"

dependencies {
api project(":gdx-gemp-lib-artemis")
api "com.badlogicgames.gdx:gdx:$gdxVersion"
api "com.google.guava:guava:21.0"
api "com.github.czyzby:gdx-websocket:$websocketLibVersion.$gdxWebsocketVersion"
api "com.neovisionaries:nv-websocket-client:1.31"

implementation "com.badlogicgames.gdx:gdx:$gdxVersion"
implementation "net.onedaybeard.artemis:artemis-odb:$artemisOdbVersion"

testImplementation "junit:junit:$junitVersion"
testImplementation "org.mockito:mockito-all:$mockitoVersion"
}
3 changes: 2 additions & 1 deletion gdx-gemp-template-artemis/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ eclipse.project.name = "gdx-gemp-template-artemis"

dependencies {
api project(":gdx-gemp-template")
api "net.onedaybeard.artemis:artemis-odb:$artemisOdbVersion"
implementation "com.badlogicgames.gdx:gdx:$gdxVersion"
implementation "net.onedaybeard.artemis:artemis-odb:$artemisOdbVersion"

testImplementation "junit:junit:$junitVersion"
testImplementation "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
Expand Down
4 changes: 2 additions & 2 deletions gdx-gemp-template-ashley/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ archivesBaseName = "gdx-gemp-template-ashley"
eclipse.project.name = "gdx-gemp-template-ashley"

dependencies {
implementation project(":gdx-gemp-template")
api 'com.github.libgdx:ashley:d4dc6d4f9c'
api project(":gdx-gemp-template")
implementation 'com.github.libgdx:ashley:d4dc6d4f9c'

testImplementation "junit:junit:$junitVersion"
testImplementation "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
Expand Down
2 changes: 1 addition & 1 deletion gdx-gemp-template/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ archivesBaseName = "gdx-gemp-template"
eclipse.project.name = "gdx-gemp-template"

dependencies {
api "com.badlogicgames.gdx:gdx:$gdxVersion"
implementation "com.badlogicgames.gdx:gdx:$gdxVersion"

testImplementation "junit:junit:$junitVersion"
testImplementation "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
Expand Down
13 changes: 8 additions & 5 deletions gdx-gemp-test/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@ dependencies {
implementation project(":gdx-gemp-template-ashley")
implementation project(":gdx-gemp-camera2d")

api "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
api "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
api "com.badlogicgames.gdx:gdx-box2d:$gdxVersion"
api "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-desktop"
api "com.gempukku.libgdx.graph:libgdx-graph:$gdxGraphVersion"
implementation "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
implementation "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
implementation "com.badlogicgames.gdx:gdx-box2d:$gdxVersion"
implementation "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-desktop"

implementation 'com.github.libgdx:ashley:d4dc6d4f9c'

implementation "com.gempukku.libgdx.graph:libgdx-graph:$gdxGraphVersion"
}
5 changes: 3 additions & 2 deletions gdx-gemp-ui/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ eclipse.project.name = "gdx-gemp-ui"

dependencies {
api project(":gdx-gemp-common")
api "com.badlogicgames.gdx:gdx:$gdxVersion"
api "com.kotcrab.vis:vis-ui:$visUiVersion"

implementation "com.badlogicgames.gdx:gdx:$gdxVersion"
implementation "com.kotcrab.vis:vis-ui:$visUiVersion"

testImplementation "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
testImplementation "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
Expand Down

0 comments on commit b5afc96

Please sign in to comment.