diff --git a/.gitignore b/.gitignore
index e11ca1074..e305aeb86 100755
--- a/.gitignore
+++ b/.gitignore
@@ -13,7 +13,6 @@
/build
*.apk
app/**/output.json
-open_source_licenses.html
# Hebrew assets are copied on build
app/src/main/res/values-iw/
diff --git a/app/build.gradle b/app/build.gradle
index 7e3d00a76..f6c83ef02 100755
--- a/app/build.gradle
+++ b/app/build.gradle
@@ -3,7 +3,7 @@ import org.jetbrains.kotlin.gradle.tasks.AbstractKotlinCompile
import java.text.SimpleDateFormat
apply plugin: 'com.android.application'
-apply plugin: 'com.jaredsburrows.license'
+apply plugin: 'com.google.android.gms.oss-licenses-plugin'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
@@ -33,13 +33,6 @@ ext {
}
}
-licenseReport {
- generateHtmlReport = true
- generateJsonReport = false
-
- copyHtmlReportToAssets = true
-}
-
android {
compileSdkVersion 29
buildToolsVersion '29.0.3'
@@ -97,9 +90,6 @@ android {
buildConfigField "boolean", "INCLUDE_UPDATER", "true"
dimension "default"
}
- fdroid {
- dimension "default"
- }
dev {
resConfigs "en", "xxhdpi"
dimension "default"
@@ -378,22 +368,7 @@ task copyResources(type: Copy) {
include '**/*'
}
-// See https://github.com/jaredsburrows/gradle-license-plugin/issues/113
-task licenseReportPreBuild(type: Exec) {
- switch (getGradle().getStartParameter().getTaskRequests().toString()) {
- case ~/.*Standard.*/:
- commandLine '../gradlew', 'licenseStandardReleaseReport'
- break
- case ~/.*Fdroid.*/:
- commandLine '../gradlew', 'licenseFdroidReleaseReport'
- break
- case ~/.*Dev.*/:
- commandLine '../gradlew', 'licenseDevReleaseReport'
- break
- }
-}
-
-preBuild.dependsOn(ktlintFormat, copyResources, licenseReportPreBuild)
+preBuild.dependsOn(ktlintFormat, copyResources)
if (getGradle().getStartParameter().getTaskRequests().toString().contains("Standard")) {
apply plugin: 'com.google.gms.google-services'
diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml
index 4baf7d19e..fc9488729 100755
--- a/app/src/main/AndroidManifest.xml
+++ b/app/src/main/AndroidManifest.xml
@@ -133,6 +133,13 @@
android:name=".extension.util.ExtensionInstallActivity"
android:theme="@android:style/Theme.Translucent.NoTitleBar" />
+
+
+