Newer
Older
music / app / build.gradle
  1. /*
  2. * Copyright (C) 2022 Lukas Eisenhauer
  3. *
  4. * This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or(at your option) any later version.
  5. *
  6. * This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
  7. *
  8. * You should have received a copy of the GNU General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
  9. */
  10.  
  11. plugins {
  12. id 'com.android.application'
  13. id 'org.jetbrains.kotlin.android'
  14. }
  15.  
  16. android {
  17. compileSdk 32
  18.  
  19. defaultConfig {
  20. applicationId "com.lukas.music"
  21. minSdk 26
  22. targetSdk 32
  23. versionCode 1
  24. versionName "1.0"
  25.  
  26. testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
  27. externalNativeBuild {
  28. cmake {
  29. cppFlags ''
  30. }
  31. }
  32. }
  33.  
  34. buildTypes {
  35. release {
  36. minifyEnabled false
  37. proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
  38. }
  39. }
  40. compileOptions {
  41. sourceCompatibility JavaVersion.VERSION_1_8
  42. targetCompatibility JavaVersion.VERSION_1_8
  43. }
  44. kotlinOptions {
  45. jvmTarget = '1.8'
  46. }
  47. externalNativeBuild {
  48. cmake {
  49. path file('src/main/cpp/CMakeLists.txt')
  50. version '3.18.1'
  51. }
  52. }
  53. buildFeatures {
  54. viewBinding true
  55. }
  56. }
  57.  
  58. dependencies {
  59. implementation 'androidx.core:core-ktx:1.7.0'
  60. implementation 'androidx.appcompat:appcompat:1.3.0'
  61. implementation 'com.google.android.material:material:1.6.1'
  62. implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
  63. implementation 'androidx.gridlayout:gridlayout:1.0.0'
  64. implementation 'org.jetbrains.kotlin:kotlin-reflect:1.7.20-Beta'
  65. testImplementation 'junit:junit:4.13.2'
  66. androidTestImplementation 'androidx.test.ext:junit:1.1.3'
  67. androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
  68. }