summaryrefslogtreecommitdiff
path: root/src/android/app/build.gradle.kts
AgeCommit message (Collapse)Author
2025-03-03Android: Downgrade build dependencies and SDK versionsZephyron
- Revert Android Gradle plugin from 8.8.1 to 8.1.2 - Downgrade Kotlin version from 2.1.20-RC to 1.9.20 - Lower Java/JVM target from 21 to 17 - Reduce CMake version from 3.31.5 to 3.22.1 - Update various Android dependencies to stable versions: - Navigation Safe Args plugin to 2.6.0 - ktlint to 0.47.1 - Play Publisher plugin to 3.8.6 - Remove custom APK naming scheme - Fix CMake boolean arguments (OFF -> 0) - Remove citron copyright header
2025-02-22android: Update build dependencies and configurationsZephyron
Updates various build dependencies and configurations for the Android build: * Upgrade Android Gradle Plugin to 8.8.1 * Update Kotlin to 2.1.20-RC * Upgrade NDK to 28.0.13004108 * Update target/compile SDK to Android 35 * Upgrade Java/Kotlin target to JVM 21 * Enable additional release optimizations (shrinkResources, proguard-android-optimize) * Update CMake to 3.31.5 * Update various AndroidX and support library dependencies * Change CMake boolean flags from 0/1 to OFF/ON * Update ktlint to 0.51.1 and related plugins This commit modernizes the Android build system and enables additional optimizations for release builds.
2025-02-21Add license verification for Android appZephyron
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.
2025-02-09android: Update build toolchain to NDK 28 and Java 21Zephyron
Update Android build configuration to use the latest NDK version 28.0.13004108 and Java JDK 21. This includes: - Updating ndkVersion from 26.3.11579264 to 28.0.13004108 - Upgrading Java compatibility from Java 17 to Java 21 - Setting Kotlin JVM target from 17 to 21 These changes modernize the Android build toolchain and ensure compatibility with the latest development tools.
2025-02-08android: optimize build settings and remove x86_64 supportZephyron
- Enable resource shrinking for release builds - Disable JNI debugging in release builds - Switch to optimized proguard configuration file - Remove x86_64 ABI support - Fix syntax error in dependencies block - Update build optimization flags: * Enable shrinkResources * Use proguard-android-optimize.txt * Disable JNI debugging for release builds These changes improve the release build optimization and reduce APK size by removing x86_64 support and enabling additional resource optimization features. The build configuration is also cleaned up by fixing a syntax error and using more aggressive optimization settings.
2025-02-03android: Reorganize and categorize gradle dependenciesZephyron
Improve organization of app dependencies in build.gradle.kts by grouping them into logical categories: - AndroidX Core & UI components - AndroidX Navigation - AndroidX Lifecycle - AndroidX Other components - Kotlin dependencies - Third party libraries This change makes the dependencies section more maintainable and easier to understand by providing clear visual separation between different types of dependencies. No actual dependency versions were changed. Also fixes minor formatting in runGitCommand function.
2025-02-01Android: Update build configuration for Android 15Zephyron
Update build configuration to support Android 15 (API 35) devices and optimize build settings for better compatibility.
2025-01-27android: Update Gradle and Java version requirementsZephyron
Updates Android build configuration to use newer versions: - Upgrade Java/JVM target from 17 to 21 - Update Android Gradle Plugin from 8.1.2 to 8.8.0 These changes modernize the Android build system to use the latest LTS version of Java and the most recent stable Android Gradle Plugin. This enables access to newer language features and build optimizations while maintaining compatibility with modern Android development tools.
2025-01-17android: Fix battery temperature reading in EmulationFragmentZephyron
Replaces the battery temperature reading implementation with a more compatible approach using ACTION_BATTERY_CHANGED broadcast intent. This change provides better backwards compatibility and adds proper error handling for the temperature reading functionality.
2025-01-17Downgrade Android SDK and build toolsZephyron
- Reduce compileSdkVersion and targetSdk from 35 to 34 - Change NDK version to 26.1.10909125 - Downgrade Android Gradle Plugin from 8.8.0 to 8.1.2 - Add androidx.constraintlayout dependency These changes improve compatibility with current Android development environment and add necessary layout support.
2025-01-15feat: Improve thermal display and build systemZephyron
- Replace emoji thermal indicators with modern progress bar UI - Switch temperature source to battery sensor for better accuracy - Adjust temperature thresholds (30°C-45°C range) - Add automatic Vulkan Validation Layer download for Android - Downgrade Java/Kotlin target to 17 for wider compatibility The thermal display now shows a visual progress bar with percentage instead of emojis, making it easier to gauge system temperature at a glance. Temperature reading now comes from the battery sensor which is more reliable across devices. Build system improvements include automated VVL binary downloads and installation for Android builds when CITRON_DOWNLOAD_ANDROID_VVL is enabled. Java target downgraded to 17 to ensure compatibility with current Android toolchain.
2025-01-14Revert incorrect copyright attribution for non-contributed filesZephyron
- In commit b3facaa6bb30cdc39f2b7d632fef1e3bfeee7785, the copyright header was updated to include "Citron Homebrew Project" across multiple files, regardless of whether any contributions were made. - This commit removes the incorrect attribution and reverts the copyright header to its previous state. - Copyright attribution should only be added when meaningful contributions have been made to the file. - This commit ensures proper compliance with copyright standards and maintains correct attribution to the respective contributors. - Special thanks to Tachi for pointing out the need for these corrections and ensuring that proper attribution practices are followed.
2025-01-13Android: Update dependencies and improve UI feedbackZephyron
- Update Kotlin and various AndroidX dependencies to stable versions - Add temperature monitoring with color-coded display in emulation - Add FPS color indication (red to green based on performance) - Add legal disclaimer page to initial setup - Remove x86_64 ABI filter to focus on arm64-v8a - Adjust thermal and FPS update intervals for consistency - Clean up redundant dependency declarations The temperature display now shows both Celsius and Fahrenheit with color coding based on safe operating ranges [WIP]. FPS counter provides visual feedback through colors, making performance issues more immediately apparent to users.
2025-01-13Android: Update build system and dependenciesZephyron
- Update Gradle from 8.1 to 8.10.2 - Update Android Gradle Plugin from 8.1.2 to 8.8.0 - Update Kotlin from 1.9.20 to 2.1.20-Beta1 - Update various AndroidX dependencies to latest versions - Update NDK from 26.1 to 27.2 (with RC1/RC2 options commented) - Update Java target from 17 to 21 - Update Android target SDK from 34 to 35 - Enable additional optimizations in release builds: - Enable shrinkResources - Use proguard-android-optimize.txt - Disable JNI debugging - Replace vector drawables with PNG for ic_citron - Comment out unused ComputeInline constant in dma_pusher.cpp - Update Gradle wrapper and configuration files This updates the Android build system and dependencies to their latest versions while enabling additional optimizations for release builds. The ic_citron icon was converted from vector to PNG format for better compatibility.
2024-12-31chore: update project references and add Citron copyrightZephyron
- Replaced all references to the old project name with Citron. - Added Citron copyright information alongside existing notices in all files.
2024-02-08android: Fix regex for git versiont895
2024-02-04ci: android: Play store publishing setupt895
2024-01-21android: Provide debug.keystore for debug and relWithDebInfo buildst895
Allows devs to share debug builds with testers without uninstalling the previous build
2024-01-13Merge pull request #12667 from t895/version-infoliamwhite
android: Show version name instead of build hash in about fragment
2024-01-13android: Clean up git commands in build.gradlet895
2024-01-13android: Move ktlintCheck to yuzu-verifyt895
2023-12-30android: Update Kotlin version to 1.9.20t895
2023-12-10nce: implement instruction emulation for misaligned memory accessesLiam
2023-11-21android: Remove ini4jt895
2023-10-31android: Auto-generate locale configCharles Lombardo
2023-10-13android: Update dependenciesCharles Lombardo
Updates to androidx navigation, lifecycle, preference, fragment, recyclerview, and core
2023-10-13android: Update ndk to 26.1.10909125Charles Lombardo
The new ndk uses LLVM 17.0.2 so we can remove the LLVM download and libc++ options for the android builds
2023-09-21android: Update androidx window library to 1.2.0-beta03Charles Lombardo
Fixes an issue with the input overlay on certain devices where the controls would appear offscreen.
2023-09-17android: Set up signing config for release buildsCharles Lombardo
2023-08-23android: Set default build variant to mainlineRelWithDebInfo (#11358)Charles Lombardo
2023-08-21android: lint: Delete generated ktlint folder between buildsCharles Lombardo
There's a bug in ktlint where it will run into an error if you build the project, delete a source file, and then build again. It will be unable to find the file you deleted and can't recover until these files are deleted. This just deletes those files before every run.
2023-06-28android: Android 14 supportCharles Lombardo
Specifies the permissions needed for the changes to foreground services in Android 14.
2023-06-16android: Bump ktlint version to 0.47.1Charles Lombardo
2023-06-16android: Disable import-ordering ktlint checkCharles Lombardo
2023-06-15Android: Use ktlint for Kotlin code styleCharles Lombardo
2023-06-15android: Enable android lintingCharles Lombardo
2023-06-14android: Adapt EmulationActivity to navigation componentCharles Lombardo
2023-06-11android: Use autoVersion when gradle property is setCharles Lombardo
2023-06-11android: Update dependenciesCharles Lombardo
2023-06-11android: Differentiate build types with new namesCharles Lombardo
Change the applicationIdSuffix and app launcher title based on build type
2023-06-11Android: Remove unused relWithVersionCode build typeCharles Lombardo
2023-06-06android: Set version codeNarr the Reg
2023-06-04android: Resolve a couple Gradle warningsAbandoned Cart
2023-06-03android: Various fixes for CI.bunnei
2023-06-03android: externals: Update libadrenotools, use useLegacyPackaging.bunnei
2023-06-03android: Stop building x86 packages in APKsCharles Lombardo
This was really only meant for building the app to run in an emulator. If this is necessary, just add manually.
2023-06-03android: Clean up app build.gradleCharles Lombardo
Removes the conflicting declaration of "version" and changes to versionCode that did nothing.
2023-06-03android: Clean up dependenciesCharles Lombardo
Additionally updates material and androidx core libraries
2023-06-03android: Use proguard file in relWithDebInfoCharles Lombardo
2023-06-03android: Fix issues with ea/main icons and version codesCharles Lombardo
Now all yuzu icon variants are taken care of and now we have a build variant that uses the versioning we need for the play store.