diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ac74e26fc..510801847 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,6 +14,7 @@ stages: stage: build-and-test retry: 2 + assembleDebug: <<: *no-upload cache: @@ -39,6 +40,7 @@ debugTests: except: - tags + ## PROTECTED VARIABLES TO SET IN GITLAB: # - GITLAB_API_TOKEN: token you create on Gitlab # - NC_REMOTE_DIR: like https://YOUR_NEXTCLOUD/remote.php/dav/files/YOUR_USER/mastalab (no trailing slash) diff --git a/README.md b/README.md index 16749ff82..6053674b2 100644 --- a/README.md +++ b/README.md @@ -40,9 +40,9 @@        -Lead developer: [framapiaf.org/@fedilab](https://framapiaf.org/@fedilab) +Lead developer: [toot.fedilab.app/@fedilab](https://toot.fedilab.app/@fedilab)
-Developer: [mastodon.social/@kasun](https://mastodon.social/@kasun) +Developer: [toot.fedilab.app/@kasun](https://toot.fedilab.app/@kasun) ## Backers diff --git a/app/build.gradle b/app/build.gradle index 72d6a9bdd..ed40e5358 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -6,8 +6,8 @@ android { defaultConfig { minSdkVersion 19 targetSdkVersion 29 - versionCode 334 - versionName "2.25.0-beta-2" + versionCode 346 + versionName "2.28.2" multiDexEnabled true renderscriptTargetApi 28 as int renderscriptSupportModeEnabled true @@ -55,6 +55,20 @@ allprojects { maven { url "https://oss.sonatype.org/content/repositories/snapshots" } } } + + +task copyAllReleaseNotes(type: Copy) { + from "$buildDir/../src/main/assets/changelogs/" + include "*.txt" + into "$buildDir/../../fastlane/metadata/android/en-US/changelogs/" +} + +task gitPushReleaseNotes(type: Exec, dependsOn: 'copyAllReleaseNotes') { + ['sh', '-c', "git add $buildDir/../../fastlane/metadata/android/en-US/changelogs/*"].execute().text.trim() + ['sh', '-c', "git commit -m 'copy release notes'"].execute().text.trim() + ['sh', '-c', "git push"].execute().text.trim() +} + ext.supportLibraryVersion = '29.0.2' ext.glideLibraryVersion = '4.9.0' ext.conscryptLibraryVersion = '2.2.1' @@ -74,11 +88,15 @@ dependencies { implementation 'androidx.appcompat:appcompat:1.1.0' implementation 'com.google.android.material:material:1.0.0' implementation 'androidx.legacy:legacy-support-v4:1.0.0' - implementation 'androidx.recyclerview:recyclerview:1.0.0' + implementation 'androidx.recyclerview:recyclerview:1.1.0' implementation 'androidx.browser:browser:1.0.0' - implementation 'androidx.exifinterface:exifinterface:1.0.0' + implementation 'androidx.exifinterface:exifinterface:1.1.0' implementation 'androidx.constraintlayout:constraintlayout:1.1.3' implementation "com.github.bumptech.glide:glide:$glideLibraryVersion" + implementation ("com.github.bumptech.glide:recyclerview-integration:$glideLibraryVersion") { + // Excludes the support library because it's already included by Glide. + transitive = false + } annotationProcessor "com.github.bumptech.glide:compiler:$glideLibraryVersion" annotationProcessor 'com.android.support:support-annotations:28.0.0' implementation "org.conscrypt:conscrypt-android:$conscryptLibraryVersion" @@ -88,7 +106,7 @@ dependencies { implementation "com.github.chrisbanes:PhotoView:$photoViewLibraryVersion" implementation 'com.r0adkll:slidableactivity:2.1.0' implementation 'com.github.stom79:country-picker-android:1.2.0' - implementation 'com.github.stom79:mytransl:1.5' + implementation 'com.github.stom79:mytransl:2.0' implementation 'com.github.stom79:SparkButton:1.0.13' implementation "com.koushikdutta.async:androidasync:2.+" implementation 'com.vanniktech:emoji-one:0.6.0' @@ -100,7 +118,6 @@ dependencies { implementation 'com.google.android.exoplayer:exoplayer:2.10.6' implementation 'org.apache.poi:poi:3.16' implementation 'com.github.mabbas007:TagsEditText:1.0.5' - implementation 'com.jaredrummler:material-spinner:1.3.1' implementation "com.tonyodev.fetch2:fetch2:2.3.6" implementation 'com.github.stom79:horizontalbargraph:1.6' implementation 'jp.wasabeef:glide-transformations:4.0.0' @@ -125,6 +142,6 @@ dependencies { implementation 'com.github.penfeizhou.android.animation:gif:1.1.0' implementation 'com.github.PhilJay:MPAndroidChart:v3.1.0' implementation 'com.github.smarteist:autoimageslider:1.3.2' - //debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.0-beta-2' + //debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.0' implementation 'com.jaredrummler:cyanea:1.0.2' } diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 71ab6b438..bda37587e 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -41,6 +41,7 @@ android:required="false" /> - + + + + + @@ -470,6 +477,10 @@ android:name="app.fedilab.android.activities.InstanceHealthActivity" android:excludeFromRecents="true" android:theme="@style/Base.V7.Theme.AppCompat.Dialog" /> +