vito-Z80

build.gradle

Apr 18th, 2020
286
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.83 KB | None | 0 0
  1. buildscript {
  2. ext.kotlinVersion = '1.3.71'
  3.  
  4. repositories {
  5. mavenLocal()
  6. mavenCentral()
  7. maven { url "https://plugins.gradle.org/m2/" }
  8. maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
  9. jcenter()
  10. google()
  11. }
  12. dependencies {
  13. classpath 'com.android.tools.build:gradle:3.6.1'
  14. classpath 'com.mobidevelop.robovm:robovm-gradle-plugin:2.3.8'
  15. classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
  16.  
  17. }
  18. }
  19.  
  20. allprojects {
  21.  
  22. version = '1.0'
  23. ext {
  24. appName = "y-port"
  25. gdxVersion = '1.9.10'
  26. roboVMVersion = '2.3.8'
  27. box2DLightsVersion = '1.5'
  28. ashleyVersion = '1.7.3'
  29. aiVersion = '1.8.2'
  30. }
  31.  
  32. repositories {
  33. mavenLocal()
  34. mavenCentral()
  35. jcenter()
  36. google()
  37. maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
  38. maven { url "https://oss.sonatype.org/content/repositories/releases/" }
  39. }
  40. }
  41.  
  42. project(":desktop") {
  43. apply plugin: "kotlin"
  44.  
  45.  
  46. dependencies {
  47. implementation project(":core")
  48. api "com.badlogicgames.gdx:gdx-backend-lwjgl3:$gdxVersion"
  49. // api "com.badlogicgames.gdx:gdx-backend-lwjgl:$gdxVersion"
  50. api "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-desktop"
  51. api "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-desktop"
  52. api "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-desktop"
  53. api "com.badlogicgames.gdx:gdx-tools:$gdxVersion"
  54. api "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
  55. }
  56. }
  57.  
  58. project(":android") {
  59. apply plugin: "android"
  60. apply plugin: "kotlin-android"
  61.  
  62. configurations { natives }
  63.  
  64. dependencies {
  65. implementation project(":core")
  66. api "com.badlogicgames.gdx:gdx-backend-android:$gdxVersion"
  67. natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi"
  68. natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-armeabi-v7a"
  69. natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-arm64-v8a"
  70. natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86"
  71. natives "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-x86_64"
  72. api "com.badlogicgames.gdx:gdx-box2d:$gdxVersion"
  73. natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-armeabi"
  74. natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-armeabi-v7a"
  75. natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-arm64-v8a"
  76. natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-x86"
  77. natives "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-x86_64"
  78. api "com.badlogicgames.gdx:gdx-freetype:$gdxVersion"
  79. natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-armeabi"
  80. natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-armeabi-v7a"
  81. natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-arm64-v8a"
  82. natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-x86"
  83. natives "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-x86_64"
  84. api "com.badlogicgames.ashley:ashley:$ashleyVersion"
  85. api "com.badlogicgames.box2dlights:box2dlights:$box2DLightsVersion"
  86. api "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
  87. }
  88. }
  89.  
  90. project(":ios") {
  91. apply plugin: "kotlin"
  92. apply plugin: "robovm"
  93.  
  94.  
  95. dependencies {
  96. implementation project(":core")
  97. api "com.mobidevelop.robovm:robovm-rt:$roboVMVersion"
  98. api "com.mobidevelop.robovm:robovm-cocoatouch:$roboVMVersion"
  99. api "com.badlogicgames.gdx:gdx-backend-robovm:$gdxVersion"
  100. api "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-ios"
  101. api "com.badlogicgames.gdx:gdx-box2d-platform:$gdxVersion:natives-ios"
  102. api "com.badlogicgames.gdx:gdx-freetype-platform:$gdxVersion:natives-ios"
  103. api "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
  104. }
  105. }
  106.  
  107. project(":core") {
  108. apply plugin: "kotlin"
  109.  
  110.  
  111. dependencies {
  112. api "com.badlogicgames.gdx:gdx:$gdxVersion"
  113. api "com.badlogicgames.gdx:gdx-box2d:$gdxVersion"
  114. api "com.badlogicgames.gdx:gdx-freetype:$gdxVersion"
  115. api "com.badlogicgames.ashley:ashley:$ashleyVersion"
  116. api "com.badlogicgames.box2dlights:box2dlights:$box2DLightsVersion"
  117. api "com.kotcrab.vis:vis-ui:1.4.4"
  118. api "net.dermetfan.libgdx-utils:libgdx-utils:0.13.4"
  119. api "net.dermetfan.libgdx-utils:libgdx-utils-box2d:0.13.4"
  120. api "com.github.czyzby:gdx-lml-vis:1.9.1.9.6"
  121. api "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
  122. }
  123. }
Advertisement
Add Comment
Please, Sign In to add comment