2019-06-04 05:25:05 +08:00
|
|
|
apply plugin: 'com.android.application'
|
|
|
|
|
|
|
|
android {
|
2019-10-30 22:04:49 +08:00
|
|
|
compileSdkVersion 29
|
2019-06-04 05:25:05 +08:00
|
|
|
defaultConfig {
|
|
|
|
applicationId "org.mian.gitnex"
|
|
|
|
minSdkVersion 21
|
2019-10-30 22:04:49 +08:00
|
|
|
targetSdkVersion 29
|
2020-03-16 17:25:15 +08:00
|
|
|
versionCode 100
|
|
|
|
versionName "2.5.0-dev"
|
2019-06-04 05:25:05 +08:00
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
}
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled false
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
lintOptions {
|
|
|
|
//checkReleaseBuilds false
|
|
|
|
abortOnError false
|
|
|
|
}
|
2020-03-16 17:25:15 +08:00
|
|
|
compileOptions {
|
|
|
|
targetCompatibility = "8"
|
|
|
|
sourceCompatibility = "8"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
configurations {
|
|
|
|
cleanedAnnotations
|
|
|
|
compile.exclude group: 'org.jetbrains' , module:'annotations'
|
2019-06-04 05:25:05 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2020-01-31 02:00:31 +08:00
|
|
|
def lifecycle_version = "2.2.0"
|
2020-03-28 02:59:24 +08:00
|
|
|
def markwon_version = "4.2.1"
|
|
|
|
def fastadapter = "3.3.1"
|
2019-06-04 05:25:05 +08:00
|
|
|
|
|
|
|
implementation fileTree(include: ['*.jar'], dir: 'libs')
|
2019-10-30 22:04:49 +08:00
|
|
|
implementation "androidx.appcompat:appcompat:1.1.0"
|
2020-03-15 23:09:26 +08:00
|
|
|
implementation "com.google.android.material:material:1.2.0-alpha05"
|
2019-10-30 22:04:49 +08:00
|
|
|
implementation "androidx.constraintlayout:constraintlayout:1.1.3"
|
|
|
|
implementation "androidx.legacy:legacy-support-v4:1.0.0"
|
2020-03-28 02:59:24 +08:00
|
|
|
testImplementation "junit:junit:4.13"
|
2019-10-30 22:04:49 +08:00
|
|
|
androidTestImplementation "androidx.test:runner:1.2.0"
|
|
|
|
androidTestImplementation "androidx.test.espresso:espresso-core:3.2.0"
|
|
|
|
implementation "com.github.vihtarb:tooltip:0.2.0"
|
2020-03-16 17:25:15 +08:00
|
|
|
implementation "com.squareup.okhttp3:okhttp:4.4.0"
|
|
|
|
implementation "com.google.code.gson:gson:2.8.6"
|
2019-10-30 22:04:49 +08:00
|
|
|
implementation "com.squareup.picasso:picasso:2.71828"
|
|
|
|
implementation "com.amulyakhare:com.amulyakhare.textdrawable:1.0.1"
|
2020-03-16 17:25:15 +08:00
|
|
|
implementation "com.squareup.retrofit2:retrofit:2.7.1"
|
|
|
|
implementation "com.squareup.retrofit2:converter-gson:2.7.1"
|
|
|
|
implementation "com.squareup.retrofit2:converter-scalars:2.7.1"
|
|
|
|
implementation "com.squareup.okhttp3:logging-interceptor:4.4.0"
|
|
|
|
implementation "org.ocpsoft.prettytime:prettytime:4.0.3.Final"
|
|
|
|
implementation "com.vdurmont:emoji-java:5.1.1"
|
2019-06-04 05:25:05 +08:00
|
|
|
implementation "com.pes.materialcolorpicker:library:1.2.5"
|
2019-09-30 00:44:42 +08:00
|
|
|
implementation "io.noties.markwon:core:$markwon_version"
|
|
|
|
implementation "io.noties.markwon:ext-latex:$markwon_version"
|
|
|
|
implementation "io.noties.markwon:ext-strikethrough:$markwon_version"
|
|
|
|
implementation "io.noties.markwon:ext-tables:$markwon_version"
|
|
|
|
implementation "io.noties.markwon:ext-tasklist:$markwon_version"
|
|
|
|
implementation "io.noties.markwon:html:$markwon_version"
|
|
|
|
implementation "io.noties.markwon:image:$markwon_version"
|
|
|
|
implementation "io.noties.markwon:image-picasso:$markwon_version"
|
|
|
|
implementation "io.noties.markwon:linkify:$markwon_version"
|
|
|
|
implementation "io.noties.markwon:recycler:$markwon_version"
|
|
|
|
implementation "io.noties.markwon:recycler-table:$markwon_version"
|
|
|
|
implementation "io.noties.markwon:simple-ext:$markwon_version"
|
|
|
|
implementation "io.noties.markwon:syntax-highlight:$markwon_version"
|
|
|
|
implementation "com.caverock:androidsvg:1.4"
|
2019-10-30 22:04:49 +08:00
|
|
|
implementation "pl.droidsonroids.gif:android-gif-drawable:1.2.19"
|
2019-06-04 05:25:05 +08:00
|
|
|
implementation "com.hendraanggrian.appcompat:socialview:0.2"
|
|
|
|
implementation "com.hendraanggrian.appcompat:socialview-commons:0.2"
|
|
|
|
implementation "androidx.lifecycle:lifecycle-extensions:$lifecycle_version"
|
|
|
|
implementation "androidx.lifecycle:lifecycle-viewmodel:$lifecycle_version"
|
2019-10-18 01:47:27 +08:00
|
|
|
implementation "com.github.HamidrezaAmz:BreadcrumbsView:0.2.9"
|
2020-03-16 17:25:15 +08:00
|
|
|
implementation "commons-io:commons-io:20030203.000550"
|
2019-10-30 22:04:49 +08:00
|
|
|
implementation "com.github.chrisbanes:PhotoView:2.3.0"
|
2019-11-05 16:34:22 +08:00
|
|
|
implementation "com.pddstudio:highlightjs-android:1.5.0"
|
2020-01-31 02:00:31 +08:00
|
|
|
implementation "com.github.barteksc:android-pdf-viewer:3.2.0-beta.1"
|
2020-03-28 02:59:24 +08:00
|
|
|
//noinspection GradleDependency
|
|
|
|
implementation "com.mikepenz:fastadapter:$fastadapter"
|
|
|
|
implementation "com.mikepenz:fastadapter-commons:$fastadapter"
|
|
|
|
implementation "com.mikepenz:fastadapter-extensions:$fastadapter"
|
2019-06-04 05:25:05 +08:00
|
|
|
}
|