103 lines
4.3 KiB
Groovy
103 lines
4.3 KiB
Groovy
plugins {
|
|
id 'com.android.application'
|
|
id 'org.jetbrains.kotlin.android'
|
|
id 'kotlin-kapt'
|
|
id 'dagger.hilt.android.plugin'
|
|
id "androidx.navigation.safeargs.kotlin"
|
|
}
|
|
|
|
android {
|
|
compileSdk 32
|
|
|
|
defaultConfig {
|
|
applicationId "me.ash.reader"
|
|
minSdk 26
|
|
targetSdk 32
|
|
versionCode 1
|
|
versionName "0.6.1"
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
vectorDrawables {
|
|
useSupportLibrary true
|
|
}
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled true
|
|
shrinkResources true
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
}
|
|
}
|
|
kotlinOptions {
|
|
freeCompilerArgs = freeCompilerArgs + "-Xopt-in=kotlin.RequiresOptIn"
|
|
}
|
|
compileOptions {
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
}
|
|
kotlinOptions {
|
|
jvmTarget = '1.8'
|
|
}
|
|
buildFeatures {
|
|
compose true
|
|
}
|
|
composeOptions {
|
|
kotlinCompilerExtensionVersion compose_version
|
|
}
|
|
packagingOptions {
|
|
resources {
|
|
excludes += '/META-INF/{AL2.0,LGPL2.1}'
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
implementation 'be.ceau:opml-parser:2.2.0'
|
|
implementation "androidx.profileinstaller:profileinstaller:1.2.0-alpha02"
|
|
implementation("io.coil-kt:coil-compose:2.0.0-rc02")
|
|
implementation("androidx.compose.animation:animation-graphics:$compose_version")
|
|
implementation("com.google.accompanist:accompanist-flowlayout:0.24.3-alpha")
|
|
implementation("com.google.accompanist:accompanist-navigation-animation:0.24.3-alpha")
|
|
implementation "androidx.datastore:datastore-preferences:1.0.0"
|
|
implementation "com.airbnb.android:lottie-compose:4.2.2"
|
|
implementation "androidx.hilt:hilt-work:1.0.0"
|
|
implementation "androidx.work:work-runtime-ktx:2.8.0-alpha01"
|
|
implementation "net.dankito.readability4j:readability4j:1.0.8"
|
|
implementation "androidx.navigation:navigation-compose:2.5.0-alpha01"
|
|
implementation "com.google.dagger:hilt-android:2.40.5"
|
|
kapt "com.google.dagger:hilt-android-compiler:2.40.5"
|
|
implementation 'androidx.hilt:hilt-lifecycle-viewmodel:1.0.0-alpha03'
|
|
kapt 'androidx.hilt:hilt-compiler:1.0.0'
|
|
implementation "androidx.hilt:hilt-navigation-compose:1.0.0"
|
|
implementation 'com.google.accompanist:accompanist-swiperefresh:0.24.1-alpha'
|
|
implementation 'androidx.paging:paging-compose:1.0.0-alpha14'
|
|
implementation 'androidx.paging:paging-runtime:3.1.0'
|
|
implementation 'androidx.paging:paging-common:3.1.0'
|
|
implementation 'androidx.room:room-paging:2.4.1'
|
|
implementation 'androidx.room:room-common:2.4.1'
|
|
implementation 'androidx.room:room-ktx:2.4.1'
|
|
kapt "androidx.room:room-compiler:2.4.1"
|
|
implementation "com.github.muhrifqii.ParseRSS:parserss:0.4.0"
|
|
implementation "com.github.muhrifqii.ParseRSS:retrofit:0.4.0"
|
|
implementation 'com.squareup.retrofit2:retrofit:2.9.0'
|
|
implementation 'com.squareup.okhttp3:okhttp:5.0.0-alpha.4'
|
|
implementation 'com.squareup.retrofit2:converter-gson:2.9.0'
|
|
implementation "com.google.accompanist:accompanist-insets:0.24.1-alpha"
|
|
implementation "com.google.accompanist:accompanist-systemuicontroller:0.24.1-alpha"
|
|
implementation 'com.google.accompanist:accompanist-pager:0.24.1-alpha'
|
|
implementation 'androidx.core:core-ktx:1.7.0'
|
|
implementation "androidx.compose.ui:ui:$compose_version"
|
|
implementation "androidx.lifecycle:lifecycle-viewmodel-compose:2.5.0-alpha01"
|
|
implementation "androidx.compose.material:material:1.2.0-alpha04"
|
|
implementation "androidx.compose.material3:material3:1.0.0-alpha07"
|
|
implementation "androidx.compose.material:material-icons-extended:$compose_version"
|
|
implementation "androidx.compose.ui:ui-tooling-preview:$compose_version"
|
|
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.3.1'
|
|
implementation 'androidx.activity:activity-compose:1.3.1'
|
|
testImplementation 'junit:junit:4.13.2'
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
|
|
androidTestImplementation "androidx.compose.ui:ui-test-junit4:$compose_version"
|
|
debugImplementation "androidx.compose.ui:ui-tooling:$compose_version"
|
|
} |