Advertisement
Guest User

Untitled

a guest
Aug 10th, 2018
2,645
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.38 KB | None | 0 0
  1. apply plugin: 'com.android.library'
  2.  
  3.  
  4. buildscript {
  5. repositories {
  6. jcenter()
  7. google()
  8. }
  9.  
  10. dependencies {
  11. classpath 'com.android.tools.build:gradle:3.1.4'
  12. }
  13. }
  14.  
  15. dependencies {
  16. // Set defaults so that BaseGameUtils can be used outside of BasicSamples
  17. if (!hasProperty('appcompat_library_version')) {
  18. ext.appcompat_library_version = '27.0.0'
  19. }
  20. if (!hasProperty('support_library_version')) {
  21. ext.support_library_version = '27.0.0'
  22. }
  23. if (!hasProperty('gms_library_version')) {
  24. ext.gms_library_version = '7.8.0'
  25. }
  26.  
  27. implementation "com.android.support:appcompat-v7:${appcompat_library_version}"
  28. implementation "com.android.support:support-v4:${support_library_version}"
  29. implementation "com.google.android.gms:play-services-games:${gms_library_version}"
  30. implementation "com.google.android.gms:play-services-plus:${gms_library_version}"
  31. implementation "com.google.android.gms:play-services-appstate:${gms_library_version}"
  32. }
  33.  
  34. android {/*
  35. // Set defaults so that BaseGameUtils can be used outside of BasicSamples
  36. if (!hasProperty('android_compile_version')) {
  37. ext.android_compile_version = 26
  38. }
  39. if (!hasProperty('android_version')) {
  40. ext.android_version = '27.0.0'
  41. }
  42. */
  43. compileSdkVersion(27)
  44. buildToolsVersion '27.0.3'
  45. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement