Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GSON global version (Gradle) #2305

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion common.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ tasks.withType(JavaCompile) { // compile-time options:

ext {
lwjgl3Version = '3.3.3' // used in both the jme3-lwjgl3 and jme3-vr build scripts
niftyVersion = '1.4.3' // used in both the jme3-niftygui and jme3-examples build scripts
niftyVersion = '1.4.3' // used in both the jme3-niftygui and jme3-examples build scripts
gsonVersion = '2.9.1' // used in both the jme3-plugins and jme3-plugins-json-gson build scripts
}

repositories {
Expand Down
6 changes: 1 addition & 5 deletions jme3-plugins-json-gson/build.gradle
Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
sourceSets {
main {
java {

srcDir 'src/main/java'

}
}
}

dependencies {

api project(':jme3-plugins-json')
api 'com.google.code.gson:gson:2.9.1'

api "com.google.code.gson:gson:${gsonVersion}"
}
2 changes: 1 addition & 1 deletion jme3-plugins/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ sourceSets {

dependencies {
api project(':jme3-core')
api 'com.google.code.gson:gson:2.9.1'
api "com.google.code.gson:gson:${gsonVersion}"
testRuntimeOnly project(':jme3-desktop')
}
Loading