2019-09-18 15:29:09 -05:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
apply plugin: 'kotlin-android'
|
2020-01-19 12:07:27 -06:00
|
|
|
apply plugin: 'kotlin-kapt'
|
|
|
|
apply plugin: 'kotlin-android-extensions'
|
2019-09-18 15:29:09 -05:00
|
|
|
apply plugin: 'com.google.gms.google-services'
|
2021-02-17 07:42:08 -06:00
|
|
|
apply plugin: 'com.google.firebase.crashlytics'
|
2019-09-18 15:29:09 -05:00
|
|
|
|
|
|
|
android {
|
|
|
|
signingConfigs {
|
|
|
|
}
|
2020-01-19 12:07:27 -06:00
|
|
|
compileSdkVersion setup.compileSdk
|
2019-09-18 15:29:09 -05:00
|
|
|
defaultConfig {
|
|
|
|
applicationId 'pl.szczodrzynski.edziennik'
|
|
|
|
minSdkVersion setup.minSdk
|
|
|
|
targetSdkVersion setup.targetSdk
|
|
|
|
versionCode release.versionCode
|
|
|
|
versionName release.versionName
|
|
|
|
multiDexEnabled true
|
2019-12-14 15:56:56 -06:00
|
|
|
|
|
|
|
externalNativeBuild {
|
|
|
|
cmake {
|
|
|
|
cppFlags "-std=c++11"
|
|
|
|
}
|
|
|
|
}
|
2019-09-18 15:29:09 -05:00
|
|
|
}
|
|
|
|
buildTypes {
|
|
|
|
applicationVariants.all { variant ->
|
|
|
|
variant.outputs.all {
|
|
|
|
if (variant.buildType.name == "release") {
|
|
|
|
outputFileName = "Edziennik_" + defaultConfig.versionName + ".apk"
|
|
|
|
} else if (variant.buildType.name == "debugMinify") {
|
|
|
|
outputFileName = "Edziennik_" + defaultConfig.versionName + "_debugMinify.apk"
|
|
|
|
} else {
|
|
|
|
outputFileName = "Edziennik_" + defaultConfig.versionName + "_debug.apk"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
debug {
|
|
|
|
minifyEnabled false
|
|
|
|
}
|
|
|
|
release {
|
|
|
|
minifyEnabled true
|
|
|
|
shrinkResources true
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt')
|
|
|
|
proguardFiles fileTree('proguard').asList().toArray()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
dependencies {
|
|
|
|
implementation "com.google.firebase:firebase-core:${versions.firebase}"
|
|
|
|
}
|
|
|
|
defaultConfig {
|
|
|
|
vectorDrawables.useSupportLibrary = true
|
|
|
|
}
|
|
|
|
lintOptions {
|
|
|
|
checkReleaseBuilds false
|
|
|
|
}
|
2021-02-17 07:42:08 -06:00
|
|
|
buildFeatures {
|
|
|
|
dataBinding = true
|
2019-09-18 15:29:09 -05:00
|
|
|
}
|
|
|
|
compileOptions {
|
2021-02-19 06:08:44 -06:00
|
|
|
coreLibraryDesugaringEnabled true
|
2019-09-18 15:29:09 -05:00
|
|
|
sourceCompatibility '1.8'
|
|
|
|
targetCompatibility '1.8'
|
|
|
|
}
|
|
|
|
productFlavors {
|
|
|
|
}
|
|
|
|
kotlinOptions {
|
|
|
|
jvmTarget = "1.8"
|
|
|
|
}
|
|
|
|
packagingOptions {
|
|
|
|
exclude 'META-INF/library-core_release.kotlin_module'
|
|
|
|
}
|
2019-12-14 15:56:56 -06:00
|
|
|
externalNativeBuild {
|
|
|
|
cmake {
|
|
|
|
path "src/main/cpp/CMakeLists.txt"
|
|
|
|
version "3.10.2"
|
|
|
|
}
|
|
|
|
}
|
2021-02-17 07:42:08 -06:00
|
|
|
ndkVersion '21.3.6528147'
|
2019-09-18 15:29:09 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
/*task finalizeBundleDebug(type: Copy) {
|
|
|
|
from("debug/debug")
|
|
|
|
include "app.aab"
|
|
|
|
destinationDir file("debug/debug")
|
|
|
|
rename "app.aab", "Edziennik_debug.aab"
|
|
|
|
}
|
|
|
|
|
|
|
|
// it finalizes :bundleRelease
|
|
|
|
task finalizeBundleRelease(type: Copy) {
|
|
|
|
from("release/release")
|
|
|
|
include "app.aab"
|
|
|
|
destinationDir file("release/release")
|
|
|
|
rename "app.aab", "Edziennik_${android.defaultConfig.versionCode}.aab"
|
|
|
|
}*/
|
|
|
|
/*
|
|
|
|
// this adds the above two tasks
|
|
|
|
tasks.whenTaskAdded { task ->
|
|
|
|
if (task.name == "bundleDebug") {
|
|
|
|
task.finalizedBy finalizeBundleDebug
|
|
|
|
} else if (task.name == "bundleRelease") {
|
|
|
|
task.finalizedBy finalizeBundleRelease
|
|
|
|
}
|
|
|
|
}*/
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
|
|
|
|
2021-02-19 06:08:44 -06:00
|
|
|
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:1.1.1'
|
|
|
|
|
2020-01-19 12:07:27 -06:00
|
|
|
kapt "androidx.room:room-compiler:${versions.room}"
|
2019-09-18 15:29:09 -05:00
|
|
|
debugImplementation "com.amitshekhar.android:debug-db:1.0.5"
|
|
|
|
|
|
|
|
implementation "android.arch.navigation:navigation-fragment-ktx:${versions.navigationFragment}"
|
|
|
|
implementation "androidx.appcompat:appcompat:${versions.appcompat}"
|
|
|
|
implementation "androidx.cardview:cardview:${versions.cardView}"
|
|
|
|
implementation "androidx.constraintlayout:constraintlayout:${versions.constraintLayout}"
|
|
|
|
implementation "androidx.core:core-ktx:${versions.ktx}"
|
|
|
|
implementation "androidx.gridlayout:gridlayout:${versions.gridLayout}"
|
|
|
|
implementation "androidx.legacy:legacy-support-v4:${versions.legacy}"
|
2021-02-17 07:42:08 -06:00
|
|
|
implementation "androidx.lifecycle:lifecycle-livedata-ktx:${versions.lifecycle}"
|
2019-09-18 15:29:09 -05:00
|
|
|
implementation "androidx.recyclerview:recyclerview:${versions.recyclerView}"
|
|
|
|
implementation "androidx.room:room-runtime:${versions.room}"
|
|
|
|
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:${versions.kotlin}"
|
|
|
|
|
|
|
|
implementation "com.google.android.gms:play-services-wearable:${versions.play_services}"
|
|
|
|
implementation "com.google.android.material:material:${versions.material}"
|
|
|
|
implementation "com.google.firebase:firebase-messaging:${versions.firebasemessaging}"
|
|
|
|
|
|
|
|
//implementation "com.github.kuba2k2.MaterialDrawer:library:e603091449"
|
|
|
|
implementation "com.mikepenz:crossfader:1.6.0" // do not update
|
|
|
|
implementation "com.mikepenz:iconics-core:${versions.iconics}"
|
|
|
|
implementation "com.mikepenz:iconics-views:${versions.iconics}"
|
|
|
|
implementation "com.mikepenz:community-material-typeface:${versions.font_cmd}@aar"
|
2020-03-24 10:29:45 -05:00
|
|
|
implementation "com.mikepenz:materialize:1.2.1"
|
2019-09-18 15:29:09 -05:00
|
|
|
|
|
|
|
implementation "com.github.kuba2k2:NavLib:${versions.navlib}"
|
|
|
|
|
|
|
|
implementation "com.afollestad.material-dialogs:commons:${versions.materialdialogs}"
|
|
|
|
implementation "com.afollestad.material-dialogs:core:${versions.materialdialogs}"
|
|
|
|
|
|
|
|
implementation "cat.ereza:customactivityoncrash:2.2.0"
|
|
|
|
implementation "com.applandeo:material-calendar-view:1.5.0"
|
2021-02-17 07:42:08 -06:00
|
|
|
implementation 'com.google.firebase:firebase-crashlytics:17.3.1'
|
2019-09-18 15:29:09 -05:00
|
|
|
implementation "com.daimajia.swipelayout:library:1.2.0@aar"
|
|
|
|
implementation "com.evernote:android-job:1.2.6"
|
|
|
|
implementation "com.github.antonKozyriatskyi:CircularProgressIndicator:1.2.2"
|
|
|
|
implementation "com.github.bassaer:chatmessageview:2.0.1"
|
|
|
|
implementation("com.github.ozodrukh:CircularReveal:2.0.1@aar") {transitive = true}
|
|
|
|
implementation "com.heinrichreimersoftware:material-intro:1.5.8" // do not update
|
|
|
|
implementation "com.jaredrummler:colorpicker:1.0.2"
|
2020-05-12 06:41:40 -05:00
|
|
|
implementation("com.squareup.okhttp3:okhttp") {
|
|
|
|
version {
|
2021-02-19 06:24:12 -06:00
|
|
|
strictly "3.12.13"
|
2020-05-12 06:41:40 -05:00
|
|
|
}
|
|
|
|
}
|
2019-09-18 15:29:09 -05:00
|
|
|
implementation "com.theartofdev.edmodo:android-image-cropper:2.8.0" // do not update
|
|
|
|
implementation "com.wdullaer:materialdatetimepicker:4.1.2"
|
|
|
|
implementation "com.yuyh.json:jsonviewer:1.0.6"
|
|
|
|
implementation "me.dm7.barcodescanner:zxing:1.9.8"
|
|
|
|
implementation "me.grantland:autofittextview:0.2.1"
|
|
|
|
implementation "me.leolin:ShortcutBadger:1.1.22@aar"
|
|
|
|
implementation "org.greenrobot:eventbus:3.1.1"
|
2021-02-17 07:42:08 -06:00
|
|
|
implementation "org.jsoup:jsoup:1.12.1"
|
2019-09-18 15:29:09 -05:00
|
|
|
implementation "pl.droidsonroids.gif:android-gif-drawable:1.2.15"
|
|
|
|
//implementation "se.emilsjolander:stickylistheaders:2.7.0"
|
2019-11-01 15:19:30 -05:00
|
|
|
implementation 'com.github.edisonw:StickyListHeaders:master-SNAPSHOT@aar'
|
2019-09-18 15:29:09 -05:00
|
|
|
implementation "uk.co.samuelwall:material-tap-target-prompt:2.14.0"
|
|
|
|
|
|
|
|
implementation project(":agendacalendarview")
|
|
|
|
implementation project(":cafebar")
|
|
|
|
implementation project(":material-about-library")
|
|
|
|
implementation project(":mhttp")
|
|
|
|
implementation project(":nachos")
|
|
|
|
//implementation project(":Navigation")
|
|
|
|
implementation project(":szkolny-font")
|
2019-09-27 11:41:58 -05:00
|
|
|
|
2020-02-26 13:37:55 -06:00
|
|
|
implementation "com.github.ChuckerTeam.Chucker:library:3.0.1"
|
|
|
|
//releaseImplementation "com.github.ChuckerTeam.Chucker:library-no-op:3.0.1"
|
2019-10-19 13:38:30 -05:00
|
|
|
|
2019-10-22 15:34:13 -05:00
|
|
|
//implementation 'com.github.wulkanowy:uonet-request-signer:master-SNAPSHOT'
|
|
|
|
//implementation 'com.github.kuba2k2.uonet-request-signer:android:master-63f094b14a-1'
|
2019-10-24 17:15:26 -05:00
|
|
|
|
2019-11-06 14:49:40 -06:00
|
|
|
//implementation "org.redundent:kotlin-xml-builder:1.5.3"
|
2019-11-01 15:31:26 -05:00
|
|
|
|
2021-02-19 06:08:44 -06:00
|
|
|
implementation 'com.github.wulkanowy.uonet-request-signer:hebe-jvm:a99ca50a31'
|
2019-11-03 08:01:12 -06:00
|
|
|
|
|
|
|
implementation "androidx.work:work-runtime-ktx:${versions.work}"
|
2019-11-06 15:49:26 -06:00
|
|
|
|
|
|
|
implementation 'com.hypertrack:hyperlog:0.0.10'
|
2019-11-10 10:53:10 -06:00
|
|
|
|
|
|
|
implementation 'com.github.kuba2k2:RecyclerTabLayout:700f980584'
|
|
|
|
|
2019-11-16 14:16:18 -06:00
|
|
|
implementation 'com.github.kuba2k2:Tachyon:551943a6b5'
|
2019-12-09 09:35:37 -06:00
|
|
|
|
|
|
|
implementation "com.squareup.retrofit2:retrofit:${versions.retrofit}"
|
|
|
|
implementation "com.squareup.retrofit2:converter-gson:${versions.retrofit}"
|
2019-12-15 14:27:50 -06:00
|
|
|
|
|
|
|
implementation 'com.github.jetradarmobile:android-snowfall:1.2.0'
|
2020-01-26 13:05:32 -06:00
|
|
|
|
|
|
|
implementation "io.coil-kt:coil:0.9.2"
|
2020-03-06 14:09:05 -06:00
|
|
|
|
|
|
|
implementation 'com.github.kuba2k2:NumberSlidingPicker:2921225f76'
|
2020-03-29 11:05:56 -05:00
|
|
|
|
|
|
|
implementation project(":annotation")
|
|
|
|
kapt project(":codegen")
|
2020-04-02 05:56:24 -05:00
|
|
|
|
|
|
|
implementation 'com.google.android:flexbox:2.0.1'
|
2020-04-07 05:16:48 -05:00
|
|
|
|
2020-08-24 10:42:53 -05:00
|
|
|
implementation 'com.qifan.powerpermission:powerpermission:1.3.0'
|
|
|
|
implementation 'com.qifan.powerpermission:powerpermission-coroutines:1.3.0'
|
2020-04-19 12:27:27 -05:00
|
|
|
|
2021-02-25 12:29:06 -06:00
|
|
|
implementation 'com.github.kuba2k2.FSLogin:lib:2.0.0'
|
2020-04-19 12:27:27 -05:00
|
|
|
implementation 'pl.droidsonroids:jspoon:1.3.2'
|
|
|
|
implementation "com.squareup.retrofit2:converter-scalars:2.8.1"
|
|
|
|
implementation "pl.droidsonroids.retrofit2:converter-jspoon:1.3.2"
|
2019-09-18 15:29:09 -05:00
|
|
|
}
|
|
|
|
repositories {
|
|
|
|
mavenCentral()
|
|
|
|
}
|