build.gradle 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. /**
  2. This file is part of TinyWeatherForecastGermany.
  3. Copyright (c) 2020, 2021, 2022, 2023 Pawel Dube
  4. This program is free software: you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License as published by
  6. the Free Software Foundation, either version 3 of the License, or
  7. (at your option) any later version.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  11. GNU General Public License for more details.
  12. You should have received a copy of the GNU General Public License
  13. along with this program. If not, see <http://www.gnu.org/licenses/>.
  14. **/
  15. apply plugin: 'com.android.application'
  16. android {
  17. compileSdkVersion 33
  18. buildToolsVersion '33.0.1'
  19. namespace 'de.kaffeemitkoffein.tinyweatherforecastgermany'
  20. defaultConfig {
  21. applicationId "de.kaffeemitkoffein.tinyweatherforecastgermany"
  22. minSdkVersion 19
  23. targetSdkVersion 33
  24. versionCode 54
  25. versionName "0.62.5"
  26. }
  27. buildTypes {
  28. release {
  29. minifyEnabled true
  30. shrinkResources true
  31. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  32. }
  33. userdebug {
  34. initWith release
  35. minifyEnabled false
  36. shrinkResources false
  37. versionNameSuffix "-userdebug_"+new Date().format("yyyyMMDD")
  38. }
  39. debug {
  40. initWith release
  41. minifyEnabled false
  42. shrinkResources false
  43. signingConfig signingConfigs.debug
  44. versionNameSuffix "-debug_"+new Date().format("yyyyMMDD-HHmm00ss")
  45. }
  46. }
  47. }
  48. dependencies {
  49. }