build.gradle 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. buildscript {
  2. repositories {
  3. mavenLocal()
  4. mavenCentral()
  5. maven { url "https://plugins.gradle.org/m2/" }
  6. maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
  7. maven { url 'https://repo.spring.io/milestone' }
  8. jcenter { url "http://jcenter.bintray.com/" }
  9. google()
  10. }
  11. dependencies {
  12. }
  13. }
  14. allprojects {
  15. apply plugin: "eclipse"
  16. version = '1.0'
  17. ext {
  18. appName = "Clientdgx"
  19. gdxVersion = '1.9.10'
  20. roboVMVersion = '2.3.8'
  21. box2DLightsVersion = '1.4'
  22. ashleyVersion = '1.7.0'
  23. aiVersion = '1.8.0'
  24. }
  25. repositories {
  26. mavenLocal()
  27. mavenCentral()
  28. jcenter()
  29. google()
  30. maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
  31. maven { url "https://oss.sonatype.org/content/repositories/releases/" }
  32. maven { url 'https://repo.spring.io/milestone' }
  33. }
  34. }
  35. project(":Client:desktop") {
  36. apply plugin: "idea"
  37. apply plugin: "java-library"
  38. dependencies {
  39. // https://mvnrepository.com/artifact/org.projectlombok/lombok
  40. compile group: 'org.projectlombok', name: 'lombok', version: '1.18.10'
  41. implementation project(":Client:core")
  42. api "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
  43. api "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
  44. api "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-desktop"
  45. }
  46. }
  47. project(":Client:core") {
  48. apply plugin: "java-library"
  49. dependencies {
  50. compile group: 'org.projectlombok', name: 'lombok', version: '1.18.10'
  51. implementation 'com.google.code.gson:gson:2.8.6'
  52. api "com.badlogicgames.gdx:gdx:$gdxVersion"
  53. api "com.badlogicgames.gdx:gdx-box2d:$gdxVersion"
  54. api "com.badlogicgames.box2dlights:box2dlights:$box2DLightsVersion"
  55. compile 'com.fasterxml.jackson.core:jackson-databind:2.11.1'
  56. }
  57. }