build.gradle 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. apply plugin: 'com.android.library'
  2. apply plugin: 'kotlin-android'
  3. android {
  4. compileSdkVersion 26
  5. defaultConfig {
  6. minSdkVersion 21
  7. targetSdkVersion 26
  8. versionCode 1
  9. versionName "1.0"
  10. testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
  11. }
  12. buildTypes {
  13. release {
  14. minifyEnabled false
  15. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  16. }
  17. }
  18. productFlavors {
  19. }
  20. }
  21. dependencies {
  22. implementation fileTree(include: ['*.jar'], dir: 'libs')
  23. implementation 'com.android.support:appcompat-v7:26.1.0'
  24. testImplementation 'junit:junit:4.12'
  25. androidTestImplementation 'com.android.support.test:runner:1.0.1'
  26. androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
  27. implementation 'com.squareup.okhttp3:okhttp:3.10.0'
  28. provided 'org.eclipse.ecf:org.apache.commons.codec:1.9.0.v20170208-1614'
  29. implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
  30. }
  31. ext {
  32. bintrayRepo = 'Maven'
  33. bintrayName = 'ONVIFCamera'
  34. orgName = 'rvi'
  35. publishedGroupId = 'com.rvirin.onvif'
  36. artifact = 'onvifcamera'
  37. libraryVersion = "1.1.9"
  38. libraryName = 'ONVIFCamera'
  39. libraryDescription = 'Library to ease the connection to a ONVIF Camera'
  40. siteUrl = 'https://github.com/rvi/ONVIFCameraAndroid'
  41. gitUrl = 'https://github.com/rvi/ONVIFCameraAndroid.git'
  42. developerId = 'rvi'
  43. developerName = 'Rémy Virin'
  44. developerEmail = 'remy@virin.us'
  45. licenseName = 'The MIT License'
  46. licenseUrl = 'https://opensource.org/licenses/MIT'
  47. allLicenses = ["MIT"]
  48. }
  49. apply from: rootProject.file('gradle/install-v1.gradle')
  50. apply from: rootProject.file('gradle/bintray-android-v1.gradle')
  51. repositories {
  52. mavenCentral()
  53. }