Advertisement
Guest User

Untitled

a guest
May 18th, 2020
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.01 KB | None | 0 0
  1. buildscript {
  2. ext.kotlinVersion = '1.3.61'
  3. repositories {
  4. google()
  5. jcenter()
  6. mavenCentral()
  7. maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
  8. }
  9. dependencies {
  10. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
  11. classpath 'com.android.tools.build:gradle:3.6.3'
  12. }
  13. }
  14.  
  15. allprojects {
  16. apply plugin: "eclipse"
  17. apply plugin: "idea"
  18.  
  19. version = '1.0'
  20. ext {
  21. appName = "DCrawler"
  22. gdxVersion = '1.9.10'
  23. roboVMVersion = '1.12.0'
  24. box2DLightsVersion = '1.4'
  25. ashleyVersion = '1.7.0'
  26. aiVersion = '1.7.0'
  27. visuiVersion = '1.4.0'
  28. }
  29.  
  30. repositories {
  31. google()
  32. jcenter()
  33. mavenCentral()
  34. maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
  35. maven { url "https://oss.sonatype.org/content/repositories/releases/" }
  36. }
  37. }
  38.  
  39. project(":desktop") {
  40. apply plugin: "kotlin"
  41.  
  42. dependencies {
  43. implementation project(":core")
  44. implementation "com.badlogicgames.gdx:gdx-ai:1.8.1"
  45. //compile "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
  46. implementation "com.badlogicgames.gdx:gdx-backend-lwjgl3:$gdxVersion"
  47. implementation "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
  48. implementation "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-desktop"
  49. }
  50. }
  51.  
  52. project(":android") {
  53. apply plugin: "android"
  54. apply plugin: "kotlin-android"
  55.  
  56. configurations { natives }
  57.  
  58. dependencies {
  59. implementation project(":core")
  60. implementation "com.badlogicgames.gdx:gdx-ai:1.8.1"
  61. implementation "com.badlogicgames.gdx:gdx-backend-android:$gdxVersion"
  62. natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi"
  63. natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi-v7a"
  64. natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-arm64-v8a"
  65. natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86"
  66. natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86_64"
  67. implementation "com.badlogicgames.gdx:gdx-freetype:$gdxVersion"
  68. natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-armeabi"
  69. natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-armeabi-v7a"
  70. natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-arm64-v8a"
  71. natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-x86"
  72. natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-x86_64"
  73. }
  74. }
  75.  
  76. project(":core") {
  77. apply plugin: 'java-library'
  78. apply plugin: "kotlin"
  79.  
  80. dependencies {
  81. implementation "com.badlogicgames.gdx:gdx-ai:1.8.1"
  82. api "com.badlogicgames.gdx:gdx:$gdxVersion"
  83. api "com.badlogicgames.gdx:gdx-freetype:$gdxVersion"
  84. api 'com.google.code.gson:gson:2.8.6'
  85. api "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
  86. api "org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion"
  87. }
  88. }
  89.  
  90. project(":desktop-editor") {
  91. apply plugin: "kotlin"
  92.  
  93. dependencies {
  94. implementation project(":core-editor")
  95. implementation "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
  96. implementation "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
  97. implementation "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-desktop"
  98. }
  99. }
  100.  
  101. project(":android-editor") {
  102. apply plugin: "android"
  103. apply plugin: "kotlin-android"
  104.  
  105. configurations { natives }
  106.  
  107. dependencies {
  108. implementation project(":core-editor")
  109. implementation "com.badlogicgames.gdx:gdx-backend-android:$gdxVersion"
  110. natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi"
  111. natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi-v7a"
  112. natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-arm64-v8a"
  113. natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86"
  114. natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86_64"
  115. implementation "com.badlogicgames.gdx:gdx-freetype:$gdxVersion"
  116. natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-armeabi"
  117. natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-armeabi-v7a"
  118. natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-arm64-v8a"
  119. natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-x86"
  120. natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-x86_64"
  121. }
  122. }
  123.  
  124. project(":core-editor") {
  125. apply plugin: "kotlin"
  126.  
  127. dependencies {
  128. implementation project(":core")
  129. implementation "com.kotcrab.vis:vis-ui:$visuiVersion"
  130. }
  131. }
  132.  
  133. tasks.eclipse.doLast {
  134. delete ".project"
  135. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement