mirror of
https://git.citron-emu.org/Citron/Citron.git
synced 2026-05-03 08:59:15 +00:00
Implements a LicenseVerifier class to ensure app integrity and license compliance: - Verifies the app's package name matches the official release - Validates app signature against official release signature - Allows debug and EA (Early Access) builds - Shows violation dialog and exits if verification fails - Enforces GPLv3 license compliance for modified versions This helps prevent unauthorized modified versions from being distributed without source code, as required by the GPLv3 license.
23 lines
694 B
Text
23 lines
694 B
Text
// SPDX-FileCopyrightText: 2023 yuzu Emulator Project
|
|
// SPDX-FileCopyrightText: 2025 citron Emulator Project
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
|
|
|
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
|
plugins {
|
|
id("com.android.application") version "8.1.2" apply false
|
|
id("com.android.library") version "8.1.2" apply false
|
|
id("org.jetbrains.kotlin.android") version "1.9.20" apply false
|
|
}
|
|
|
|
tasks.register("clean").configure {
|
|
delete(rootProject.buildDir)
|
|
}
|
|
|
|
buildscript {
|
|
repositories {
|
|
google()
|
|
}
|
|
dependencies {
|
|
classpath("androidx.navigation:navigation-safe-args-gradle-plugin:2.6.0")
|
|
}
|
|
}
|