mirror of
https://github.com/Fox2Code/FoxMagiskModuleManager
synced 2024-11-01 09:20:26 +00:00
76 lines
2.1 KiB
Groovy
76 lines
2.1 KiB
Groovy
plugins {
|
|
id 'com.android.application'
|
|
id 'com.mikepenz.aboutlibraries.plugin'
|
|
}
|
|
|
|
android {
|
|
compileSdk 30
|
|
|
|
defaultConfig {
|
|
applicationId "com.fox2code.mmm"
|
|
minSdk 21
|
|
targetSdk 30
|
|
versionCode 5
|
|
versionName "0.1.1"
|
|
|
|
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
|
|
}
|
|
|
|
lintOptions {
|
|
disable 'MissingTranslation'
|
|
}
|
|
}
|
|
|
|
aboutLibraries {
|
|
additionalLicenses {
|
|
LGPL_3_0_only
|
|
}
|
|
}
|
|
|
|
configurations {
|
|
implementation.exclude group: 'org.jetbrains' , module: 'annotations'
|
|
}
|
|
|
|
dependencies {
|
|
// UI
|
|
implementation 'androidx.appcompat:appcompat:1.3.1'
|
|
implementation 'androidx.preference:preference:1.1.1'
|
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.1'
|
|
implementation 'androidx.recyclerview:recyclerview:1.2.1'
|
|
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
|
|
implementation 'com.google.android.material:material:1.4.0'
|
|
implementation "com.mikepenz:aboutlibraries:${latestAboutLibsRelease}"
|
|
|
|
// Utils
|
|
implementation 'com.squareup.okhttp3:okhttp-dnsoverhttps:4.9.1'
|
|
implementation 'com.github.topjohnwu.libsu:io:3.1.2'
|
|
|
|
// 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"
|
|
implementation "io.noties.markwon:syntax-highlight:4.6.2"
|
|
annotationProcessor "io.noties:prism4j-bundler:2.0.0"
|
|
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'
|
|
} |