From fc85e631c95f933fbe39ccb9be375c2d8364b297 Mon Sep 17 00:00:00 2001 From: johan12345 Date: Thu, 26 Oct 2023 12:15:08 +0200 Subject: [PATCH] ensure Open Source licenses with AboutLibraries --- app/build.gradle.kts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index ddb78168..c6f561d5 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -200,6 +200,16 @@ configurations { create("googleAutomotiveImplementation") {} } +aboutLibraries { + allowedLicenses = arrayOf( + "Apache-2.0", "mit", "BSD-2-Clause", + "asdkl", // Android SDK + "Dual OpenSSL and SSLeay License", // Android NDK OpenSSL + "Google Maps Platform Terms of Service" // Google Maps SDK + ) + strictMode = com.mikepenz.aboutlibraries.plugin.StrictMode.FAIL +} + dependencies { val kotlinVersion: String by rootProject.extra val aboutLibsVersion: String by rootProject.extra