You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

99 lines
2.1 KiB

4 years ago
4 years ago
  1. /*
  2. * Copyright 2015 Marvin Ramin
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. apply plugin: 'com.android.library'
  17. apply from: 'dependencies.gradle'
  18. group 'com.mtramin'
  19. version '0.1'
  20. android {
  21. compileSdkVersion versions.compileSdk
  22. // buildToolsVersion versions.buildTools
  23. defaultConfig {
  24. minSdkVersion versions.minSdk
  25. targetSdkVersion versions.targetSdk
  26. versionCode versions.code
  27. versionName versions.name
  28. }
  29. buildTypes {
  30. release {
  31. debuggable false
  32. minifyEnabled true
  33. proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
  34. lintOptions {
  35. checkReleaseBuilds false
  36. // Or, if you prefer, you can continue to check for errors in release builds,
  37. // but continue the build even when errors are found:
  38. abortOnError false
  39. }
  40. }
  41. livedebug {
  42. debuggable true
  43. minifyEnabled false
  44. }
  45. stag {
  46. debuggable true
  47. minifyEnabled false
  48. }
  49. jme{
  50. debuggable true
  51. minifyEnabled false
  52. }
  53. generic{
  54. debuggable true
  55. minifyEnabled false
  56. }
  57. dev{
  58. debuggable true
  59. minifyEnabled false
  60. }
  61. }
  62. lintOptions {
  63. textReport true
  64. }
  65. testOptions {
  66. unitTests.all {
  67. testLogging {
  68. events 'passed', 'skipped', 'failed'
  69. exceptionFormat 'full'
  70. }
  71. }
  72. }
  73. }
  74. dependencies {
  75. // compileOnly libraries.supportAnnotations
  76. api libraries.rxJava
  77. implementation libraries.biometric
  78. implementation libraries.androidx
  79. testImplementation libraries.jUnit
  80. testImplementation libraries.mockito
  81. testImplementation libraries.powermockJUnit
  82. testImplementation libraries.powermockMockito
  83. }
  84. //apply from: 'publish.gradle'