NewPlayer/app/build.gradle.kts

109 lines
3.5 KiB
Plaintext
Raw Normal View History

2024-07-08 16:32:04 +02:00
/* NewPlayer
*
* @author Christian Schabesberger
*
* Copyright (C) NewPipe e.V. 2024 <code(at)newpipe-ev.de>
*
* NewPlayer 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.
*
* NewPlayer 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.
*
* You should have received a copy of the GNU General Public License
* along with NewPlayer. If not, see <http://www.gnu.org/licenses/>.
*/
2024-07-02 11:43:51 +02:00
plugins {
alias(libs.plugins.android.application)
alias(libs.plugins.jetbrains.kotlin.android)
alias(libs.plugins.kotlinAndroidKsp)
2024-07-08 17:45:54 +02:00
alias(libs.plugins.androidHilt)
alias(libs.plugins.kotlinParcelize)
alias(libs.plugins.composeCompiler)
2024-07-02 11:43:51 +02:00
}
android {
namespace = "net.newpipe.newplayer"
compileSdk = 34
buildFeatures {
compose = true
}
composeOptions {
kotlinCompilerExtensionVersion = "1.5.1"
}
defaultConfig {
applicationId = "net.newpipe.newplayer"
minSdk = 21
targetSdk = 34
versionCode = 1
versionName = "1.0"
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables {
useSupportLibrary = true
}
2024-07-02 11:43:51 +02:00
}
buildTypes {
release {
isMinifyEnabled = false
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
)
}
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
kotlinOptions {
jvmTarget = "1.8"
}
packaging {
resources {
excludes += "/META-INF/{AL2.0,LGPL2.1}"
}
}
2024-07-08 16:05:37 +02:00
2024-07-02 11:43:51 +02:00
}
dependencies {
implementation(libs.androidx.core.ktx)
implementation(libs.androidx.appcompat)
implementation(libs.material)
implementation(libs.androidx.activity)
implementation(libs.androidx.constraintlayout)
implementation(libs.androidx.activity.compose)
implementation(libs.androidx.material3)
2024-07-02 17:40:49 +02:00
implementation(libs.androidx.ui.tooling)
implementation(libs.androidx.material.icons.extended.android)
2024-07-08 16:05:37 +02:00
implementation(libs.androidx.media3.exoplayer)
implementation(libs.androidx.media3.ui)
implementation(libs.hilt.android)
implementation(libs.androidx.lifecycle.viewmodel.compose)
2024-07-09 18:20:30 +02:00
implementation(libs.androidx.foundation)
2024-07-10 16:31:08 +02:00
implementation(libs.androidx.fragment.ktx)
implementation(libs.androidx.lifecycle.runtime.ktx)
implementation(platform(libs.androidx.compose.bom))
implementation(libs.androidx.ui)
implementation(libs.androidx.ui.graphics)
implementation(libs.androidx.ui.tooling.preview)
androidTestImplementation(platform(libs.androidx.compose.bom))
androidTestImplementation(libs.androidx.ui.test.junit4)
debugImplementation(libs.androidx.ui.tooling)
debugImplementation(libs.androidx.ui.test.manifest)
ksp(libs.hilt.android.compiler)
ksp(libs.androidx.hilt.compiler)
2024-07-08 16:05:37 +02:00
implementation(libs.androidx.hilt.navigation.compose)
2024-07-02 11:43:51 +02:00
testImplementation(libs.junit)
androidTestImplementation(libs.androidx.junit)
androidTestImplementation(libs.androidx.espresso.core)
}