2021-10-01 20:19:42 +00:00
|
|
|
plugins {
|
|
|
|
id 'com.android.application'
|
|
|
|
id 'com.mikepenz.aboutlibraries.plugin'
|
|
|
|
}
|
|
|
|
|
|
|
|
android {
|
2022-01-17 14:28:29 +00:00
|
|
|
compileSdk 32
|
2021-10-01 20:19:42 +00:00
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
applicationId "com.fox2code.mmm"
|
|
|
|
minSdk 21
|
2022-01-17 14:28:29 +00:00
|
|
|
targetSdk 32
|
2022-02-05 13:23:28 +00:00
|
|
|
versionCode 25
|
|
|
|
versionName "0.3.0-rc1"
|
2021-10-01 20:19:42 +00:00
|
|
|
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
|
|
}
|
|
|
|
|
|
|
|
buildTypes {
|
|
|
|
release {
|
|
|
|
minifyEnabled true
|
|
|
|
shrinkResources true
|
|
|
|
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
|
|
|
}
|
|
|
|
debug {
|
|
|
|
applicationIdSuffix '.debug'
|
|
|
|
debuggable true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
compileOptions {
|
|
|
|
sourceCompatibility JavaVersion.VERSION_1_8
|
|
|
|
targetCompatibility JavaVersion.VERSION_1_8
|
|
|
|
}
|
2022-01-23 18:17:08 +00:00
|
|
|
lint {
|
2021-11-05 14:22:33 +00:00
|
|
|
disable 'MissingTranslation'
|
|
|
|
}
|
2021-10-01 20:19:42 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
aboutLibraries {
|
2022-02-02 14:53:28 +00:00
|
|
|
additionalLicenses = ["LGPL_3_0_only"]
|
2021-10-01 20:19:42 +00:00
|
|
|
}
|
|
|
|
|
2021-10-23 16:14:40 +00:00
|
|
|
configurations {
|
|
|
|
implementation.exclude group: 'org.jetbrains' , module: 'annotations'
|
|
|
|
}
|
|
|
|
|
2021-10-01 20:19:42 +00:00
|
|
|
dependencies {
|
|
|
|
// UI
|
2022-01-17 14:28:29 +00:00
|
|
|
implementation 'androidx.appcompat:appcompat:1.4.1'
|
2021-12-19 17:30:08 +00:00
|
|
|
implementation 'androidx.emoji2:emoji2:1.0.1'
|
|
|
|
implementation 'androidx.emoji2:emoji2-views-helper:1.0.1'
|
2022-01-31 21:59:47 +00:00
|
|
|
implementation 'androidx.preference:preference:1.2.0'
|
2022-01-17 14:28:29 +00:00
|
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.3'
|
2021-10-01 20:19:42 +00:00
|
|
|
implementation 'androidx.recyclerview:recyclerview:1.2.1'
|
|
|
|
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
|
2022-01-30 22:32:10 +00:00
|
|
|
implementation 'androidx.webkit:webkit:1.4.0'
|
2022-01-17 14:28:29 +00:00
|
|
|
implementation 'com.google.android.material:material:1.5.0'
|
2021-10-01 20:19:42 +00:00
|
|
|
implementation "com.mikepenz:aboutlibraries:${latestAboutLibsRelease}"
|
2022-02-03 20:08:30 +00:00
|
|
|
implementation "dev.rikka.rikkax.layoutinflater:layoutinflater:1.2.0"
|
|
|
|
implementation "dev.rikka.rikkax.insets:insets:1.1.1"
|
2021-10-01 20:19:42 +00:00
|
|
|
|
|
|
|
// Utils
|
2021-12-02 16:41:07 +00:00
|
|
|
implementation 'com.squareup.okhttp3:okhttp-dnsoverhttps:4.9.3'
|
|
|
|
implementation 'com.squareup.okhttp3:okhttp-brotli:4.9.3'
|
2022-01-17 14:28:29 +00:00
|
|
|
implementation 'com.github.topjohnwu.libsu:io:3.2.1'
|
2021-10-01 20:19:42 +00:00
|
|
|
|
|
|
|
// Markdown
|
|
|
|
implementation "io.noties.markwon:core:4.6.2"
|
|
|
|
implementation "io.noties.markwon:html:4.6.2"
|
|
|
|
implementation "io.noties.markwon:image:4.6.2"
|
2021-10-23 16:14:40 +00:00
|
|
|
implementation "io.noties.markwon:syntax-highlight:4.6.2"
|
|
|
|
annotationProcessor "io.noties:prism4j-bundler:2.0.0"
|
2021-10-01 20:19:42 +00:00
|
|
|
implementation "com.caverock:androidsvg:1.4"
|
|
|
|
|
|
|
|
// Test
|
|
|
|
testImplementation 'junit:junit:4.+'
|
|
|
|
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
|
|
|
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
|
|
|
|
}
|