mirror of
https://git.ryujinx.app/projects/Kenji-NX.git
synced 2026-10-03 15:29:02 +02:00
Android: Update to 2.1.0-pr.2
This commit is contained in:
@@ -12,7 +12,7 @@ android {
|
|||||||
minSdk 29
|
minSdk 29
|
||||||
targetSdk 36
|
targetSdk 36
|
||||||
versionCode 20100
|
versionCode 20100
|
||||||
versionName '2.1.0-pr.1'
|
versionName '2.1.0-pr.2'
|
||||||
|
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
|
|
||||||
@@ -138,7 +138,7 @@ tasks.named("preBuild") {
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
runtimeOnly project(":libkenjinx")
|
runtimeOnly project(":libkenjinx")
|
||||||
implementation 'androidx.activity:activity-compose:1.12.4'
|
implementation 'androidx.activity:activity-compose:1.13.0'
|
||||||
implementation 'androidx.appcompat:appcompat:1.7.1'
|
implementation 'androidx.appcompat:appcompat:1.7.1'
|
||||||
implementation 'androidx.compose.material3:material3'
|
implementation 'androidx.compose.material3:material3'
|
||||||
implementation 'androidx.compose.material:material-icons-extended:1.7.8'
|
implementation 'androidx.compose.material:material-icons-extended:1.7.8'
|
||||||
@@ -146,7 +146,7 @@ dependencies {
|
|||||||
implementation 'androidx.compose.ui:ui-graphics'
|
implementation 'androidx.compose.ui:ui-graphics'
|
||||||
implementation 'androidx.compose.ui:ui-tooling-preview'
|
implementation 'androidx.compose.ui:ui-tooling-preview'
|
||||||
implementation 'androidx.constraintlayout:constraintlayout:2.2.1'
|
implementation 'androidx.constraintlayout:constraintlayout:2.2.1'
|
||||||
implementation 'androidx.core:core-ktx:1.17.0'
|
implementation 'androidx.core:core-ktx:1.18.0'
|
||||||
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.10.0'
|
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.10.0'
|
||||||
implementation 'androidx.navigation:navigation-compose:2.9.7'
|
implementation 'androidx.navigation:navigation-compose:2.9.7'
|
||||||
implementation 'androidx.preference:preference-ktx:1.2.1'
|
implementation 'androidx.preference:preference-ktx:1.2.1'
|
||||||
@@ -163,12 +163,12 @@ dependencies {
|
|||||||
implementation 'net.lingala.zip4j:zip4j:2.11.6'
|
implementation 'net.lingala.zip4j:zip4j:2.11.6'
|
||||||
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.10.2'
|
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-android:1.10.2'
|
||||||
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.10.2'
|
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.10.2'
|
||||||
implementation platform('androidx.compose:compose-bom:2026.02.01')
|
implementation platform('androidx.compose:compose-bom:2026.03.01')
|
||||||
implementation platform('org.jetbrains.kotlin:kotlin-bom:2.3.10')
|
implementation platform('org.jetbrains.kotlin:kotlin-bom:2.3.10')
|
||||||
androidTestImplementation 'androidx.compose.ui:ui-test-junit4'
|
androidTestImplementation 'androidx.compose.ui:ui-test-junit4'
|
||||||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.7.0'
|
androidTestImplementation 'androidx.test.espresso:espresso-core:3.7.0'
|
||||||
androidTestImplementation 'androidx.test.ext:junit:1.3.0'
|
androidTestImplementation 'androidx.test.ext:junit:1.3.0'
|
||||||
androidTestImplementation platform('androidx.compose:compose-bom:2026.02.01')
|
androidTestImplementation platform('androidx.compose:compose-bom:2026.03.01')
|
||||||
testImplementation 'junit:junit:4.13.2'
|
testImplementation 'junit:junit:4.13.2'
|
||||||
debugImplementation 'androidx.compose.ui:ui-test-manifest'
|
debugImplementation 'androidx.compose.ui:ui-test-manifest'
|
||||||
debugImplementation 'androidx.compose.ui:ui-tooling'
|
debugImplementation 'androidx.compose.ui:ui-tooling'
|
||||||
|
|||||||
@@ -27,6 +27,10 @@ namespace Ryujinx.Common
|
|||||||
|
|
||||||
public static bool IsFlatHubBuild => IsValid && ReleaseChannelOwner.Equals(FlatHubChannelOwner);
|
public static bool IsFlatHubBuild => IsValid && ReleaseChannelOwner.Equals(FlatHubChannelOwner);
|
||||||
|
|
||||||
public static string Version => (IsValid || !RuntimeFeature.IsDynamicCodeCompiled) ? (PlatformInfo.IsBionic ? "Bionic_2.1.0-pr.1" : BuildVersion) : Assembly.GetEntryAssembly()!.GetCustomAttribute<AssemblyInformationalVersionAttribute>()?.InformationalVersion;
|
public static string Version =>
|
||||||
|
IsValid || !RuntimeFeature.IsDynamicCodeCompiled
|
||||||
|
? PlatformInfo.IsBionic ? "Bionic_2.1.0-pr.2" : BuildVersion
|
||||||
|
: Assembly.GetEntryAssembly()!.GetCustomAttribute<AssemblyInformationalVersionAttribute>()
|
||||||
|
?.InformationalVersion;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user