Gradle files for Coffee
pluginManagement {
repositories {
google()
mavenCentral()
gradlePluginPortal()
maven {
url "https://plugins.gradle.org/m2/"
}
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
}
}
rootProject.name = "Coffee"
include ':app'
buildscript {
ext.kotlin_version = "1.8.20"
ext.kotlin_coroutines_version = "1.6.4"
ext.about_libraries_version = "10.6.2"
}
plugins {
id 'com.android.application' version '7.4.1' apply false
id 'com.android.library' version '7.4.1' apply false
id 'org.jetbrains.kotlin.android' version '1.8.0' apply false
id 'com.mikepenz.aboutlibraries.plugin' version "$about_libraries_version" apply false
}
task clean(type: Delete) {
delete rootProject.buildDir
}plugins {
id 'com.android.application'
id 'org.jetbrains.kotlin.android'
id 'com.mikepenz.aboutlibraries.plugin'
}
android {
namespace 'com.github.muellerma.coffee'
compileSdk 33
defaultConfig {
applicationId "com.github.muellerma.coffee"
minSdk 25
targetSdk 33
versionCode 1
versionName "1.0"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
}
debug {
minifyEnabled true
shrinkResources true
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
applicationIdSuffix ".debug"
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
encoding "UTF-8"
}
kotlinOptions {
jvmTarget = '1.8'
allWarningsAsErrors = true
}
buildFeatures {
viewBinding true
}
lint {
abortOnError false
}
}
dependencies {
implementation 'androidx.core:core-ktx:1.10.0'
implementation "androidx.fragment:fragment-ktx:1.5.7"
implementation "androidx.preference:preference-ktx:1.2.0"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:$kotlin_coroutines_version"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:$kotlin_coroutines_version"
implementation "com.mikepenz:aboutlibraries:$about_libraries_version"
implementation 'androidx.appcompat:appcompat:1.6.1'
implementation 'com.google.android.material:material:1.8.0'
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
testImplementation 'junit:junit:4.13.2'
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
}
Comments
Post a Comment