@@ -15,43 +15,47 @@ android {
1515 multiDexEnabled true
1616 }
1717
18- buildTypes {
19- debug {
20- pseudoLocalesEnabled true
21- }
22- }
23-
2418 compileOptions {
2519 coreLibraryDesugaringEnabled true
2620 sourceCompatibility JavaVersion . VERSION_17
2721 targetCompatibility JavaVersion . VERSION_17
2822 }
23+
24+ applicationVariants. all { variant ->
25+ variant. outputs. all { output ->
26+ def projectName = " Web-AIDE"
27+ def version = variant. versionName
28+ def buildNumber = variant. versionCode
29+ def variantName = variant. name
30+ outputFileName = " ${ projectName} -v${ version} -build.${ buildNumber} .apk"
31+ }
32+ }
2933}
3034
3135dependencies {
3236 implementation " androidx.appcompat:appcompat:$app_compat "
3337 implementation " androidx.multidex:multidex:$multidex "
3438 implementation " androidx.preference:preference:$preference "
39+ implementation " androidx.swiperefreshlayout:swiperefreshlayout:$swiperefreshlayout "
40+
3541 implementation " com.google.android.material:material:$material "
3642 implementation " com.google.code.gson:gson:$gson "
37- implementation(" com.google.javascript:closure-compiler:$closure_compiler " )
43+ implementation " com.google.javascript:closure-compiler:$closure_compiler "
44+
45+ implementation " com.vladsch.flexmark:flexmark:$flexmark "
46+ implementation " com.vladsch.flexmark:flexmark-ext-tables:$flexmark "
47+ implementation " com.vladsch.flexmark:flexmark-ext-gfm-strikethrough:$flexmark "
3848
3949 implementation " io.github.Rosemoe.sora-editor:editor"
4050 implementation " io.github.Rosemoe.sora-editor:language-textmate"
4151 implementation " io.noties.markwon:core:${ markwonVersion} "
4252
4353 implementation " org.eclipse.jgit:org.eclipse.jgit:$jgit "
4454 implementation " org.jsoup:jsoup:$jsoup "
45-
55+
4656 implementation project(" :filetree" )
4757 implementation project(" :colorpicker" )
4858 implementation platform(" io.github.Rosemoe.sora-editor:bom:$sora_editor " )
4959 implementation fileTree(dir : ' libs' , include : [' *.jar' ])
5060 coreLibraryDesugaring " com.android.tools:desugar_jdk_libs:$desugar_jdk_libs "
51-
52- implementation " com.vladsch.flexmark:flexmark:$flexmark "
53- implementation " com.vladsch.flexmark:flexmark-ext-tables:$flexmark "
54- implementation " com.vladsch.flexmark:flexmark-ext-gfm-strikethrough:$flexmark "
55-
56- implementation " androidx.swiperefreshlayout:swiperefreshlayout:$swiperefreshlayout "
5761}
0 commit comments