Browse Source
Migrate BuildConfig
Signed-off-by: crueter <swurl@swurl.xyz>
pull/21/head
crueter
6 months ago
No known key found for this signature in database
GPG Key ID: A5A7629F109C8FD1
2 changed files with
8 additions and
11 deletions
-
src/android/app/build.gradle.kts
-
src/android/gradle.properties
|
|
|
@ -1,9 +1,9 @@ |
|
|
|
// SPDX-FileCopyrightText: Copyright yuzu/Citra Emulator Project |
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later |
|
|
|
|
|
|
|
// SPDX-FileCopyrightText: Copyright 2025 Eden Emulator Project |
|
|
|
// SPDX-License-Identifier: GPL-3.0-or-later |
|
|
|
|
|
|
|
// SPDX-FileCopyrightText: Copyright yuzu/Citra Emulator Project |
|
|
|
// SPDX-License-Identifier: GPL-2.0-or-later |
|
|
|
|
|
|
|
import android.annotation.SuppressLint |
|
|
|
import kotlin.collections.setOf |
|
|
|
import org.jlleitschuh.gradle.ktlint.reporter.ReporterType |
|
|
|
@ -35,6 +35,7 @@ android { |
|
|
|
|
|
|
|
buildFeatures { |
|
|
|
viewBinding = true |
|
|
|
buildConfig = true |
|
|
|
} |
|
|
|
|
|
|
|
compileOptions { |
|
|
|
@ -62,11 +63,7 @@ android { |
|
|
|
targetSdk = 35 |
|
|
|
versionName = getGitVersion() |
|
|
|
|
|
|
|
versionCode = if (System.getenv("AUTO_VERSIONED") == "true") { |
|
|
|
autoVersion |
|
|
|
} else { |
|
|
|
1 |
|
|
|
} |
|
|
|
versionCode = autoVersion |
|
|
|
|
|
|
|
ndk { |
|
|
|
@SuppressLint("ChromeOsAbiSupport") |
|
|
|
@ -121,7 +118,6 @@ android { |
|
|
|
isDefault = true |
|
|
|
resValue("string", "app_name_suffixed", "eden Debug Release") |
|
|
|
signingConfig = signingConfigs.getByName("default") |
|
|
|
isMinifyEnabled = true |
|
|
|
isDebuggable = true |
|
|
|
proguardFiles( |
|
|
|
getDefaultProguardFile("proguard-android.txt"), |
|
|
|
|
|
|
|
@ -1,3 +1,6 @@ |
|
|
|
# SPDX-FileCopyrightText: Copyright 2025 yuzu Emulator Project |
|
|
|
# SPDX-License-Identifier: GPL-3.0-or-later |
|
|
|
|
|
|
|
# SPDX-FileCopyrightText: 2023 yuzu Emulator Project |
|
|
|
# SPDX-License-Identifier: GPL-3.0-or-later |
|
|
|
|
|
|
|
@ -14,7 +17,5 @@ android.useAndroidX=true |
|
|
|
# Kotlin code style for this project: "official" or "obsolete": |
|
|
|
kotlin.code.style=official |
|
|
|
kotlin.parallel.tasks.in.project=true |
|
|
|
android.defaults.buildfeatures.buildconfig=true |
|
|
|
|
|
|
|
# Android Gradle plugin 8.0.2 |
|
|
|
android.suppressUnsupportedCompileSdk=34 |