build.gradle 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. apply plugin: 'com.android.library'
  2. ext {
  3. bintrayRepo = 'maven'
  4. bintrayName = 'android-pdf-viewer'
  5. publishedGroupId = 'com.github.barteksc'
  6. libraryName = 'AndroidPdfViewer'
  7. artifact = 'android-pdf-viewer'
  8. libraryDescription = 'Android view for displaying PDFs rendered with PdfiumAndroid'
  9. siteUrl = 'https://github.com/barteksc/AndroidPdfViewer'
  10. gitUrl = 'https://github.com/barteksc/AndroidPdfViewer.git'
  11. libraryVersion = '2.7.0-beta.1'
  12. developerId = 'barteksc'
  13. developerName = 'Bartosz Schiller'
  14. developerEmail = 'barteksch@boo.pl'
  15. licenseName = 'The Apache Software License, Version 2.0'
  16. licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
  17. allLicenses = ["Apache-2.0"]
  18. }
  19. android {
  20. compileSdkVersion rootProject.ext.android.compileSdkVersion
  21. buildToolsVersion rootProject.ext.android.buildToolsVersion
  22. defaultConfig {
  23. minSdkVersion rootProject.ext.android.minSdkVersion
  24. targetSdkVersion rootProject.ext.android.targetSdkVersion
  25. versionCode 1
  26. versionName "2.7.0-beta.1"
  27. }
  28. }
  29. dependencies {
  30. compile 'com.github.barteksc:pdfium-android:1.7.0'
  31. }
  32. //apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/installv1.gradle'
  33. //apply from: 'https://raw.githubusercontent.com/nuuneoi/JCenter/master/bintrayv1.gradle'