build.gradle 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. apply plugin: 'com.android.library'
  2. apply plugin: 'kotlin-android'
  3. apply plugin: 'kotlin-android-extensions'
  4. apply plugin: 'com.android.library'
  5. repositories {
  6. maven { url "https://maven.google.com" }
  7. }
  8. android {
  9. compileSdkVersion 27
  10. defaultConfig {
  11. minSdkVersion 16
  12. targetSdkVersion 27
  13. versionCode 1
  14. versionName "1.0"
  15. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  16. }
  17. buildTypes {
  18. release {
  19. minifyEnabled false
  20. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  21. }
  22. }
  23. }
  24. dependencies {
  25. implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
  26. implementation 'com.android.support:appcompat-v7:27.1.1'
  27. testImplementation 'junit:junit:4.12'
  28. androidTestImplementation 'com.android.support.test:runner:1.0.2'
  29. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
  30. api ('com.google.android.gms:play-services-ads:15.0.0') {
  31. }
  32. implementation('com.mopub:mopub-sdk:5.3.0@aar') {
  33. transitive = true
  34. exclude module: 'libAvid-mopub' // To exclude AVID
  35. exclude module: 'moat-mobile-app-kit' // To exclude Moat
  36. }
  37. }