mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-29 16:30:31 +05:30
Update Java versions, add generated profiles
This commit is contained in:
parent
c8c767f86d
commit
df604e42b0
@ -57,6 +57,7 @@ android {
|
|||||||
jvmTarget = "17"
|
jvmTarget = "17"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Comment this block if issues occur while generating the baseline profile
|
||||||
splits {
|
splits {
|
||||||
abi {
|
abi {
|
||||||
isEnable = true
|
isEnable = true
|
||||||
|
12859
app/src/release/generated/baselineProfiles/baseline-prof.txt
Normal file
12859
app/src/release/generated/baselineProfiles/baseline-prof.txt
Normal file
File diff suppressed because it is too large
Load Diff
12859
app/src/release/generated/baselineProfiles/startup-prof.txt
Normal file
12859
app/src/release/generated/baselineProfiles/startup-prof.txt
Normal file
File diff suppressed because it is too large
Load Diff
@ -11,12 +11,12 @@ android {
|
|||||||
compileSdk = 34
|
compileSdk = 34
|
||||||
|
|
||||||
compileOptions {
|
compileOptions {
|
||||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
sourceCompatibility = JavaVersion.VERSION_17
|
||||||
targetCompatibility = JavaVersion.VERSION_1_8
|
targetCompatibility = JavaVersion.VERSION_17
|
||||||
}
|
}
|
||||||
|
|
||||||
kotlinOptions {
|
kotlinOptions {
|
||||||
jvmTarget = "1.8"
|
jvmTarget = JavaVersion.VERSION_17.toString()
|
||||||
}
|
}
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
@ -28,20 +28,21 @@ android {
|
|||||||
|
|
||||||
targetProjectPath = ":app"
|
targetProjectPath = ":app"
|
||||||
|
|
||||||
testOptions.managedDevices.devices {
|
// testOptions.managedDevices.devices {
|
||||||
create<ManagedVirtualDevice>("pixel6Api34") {
|
// create<ManagedVirtualDevice>("pixel6Api34") {
|
||||||
device = "Pixel 6"
|
// device = "Pixel 6"
|
||||||
apiLevel = 34
|
// apiLevel = 34
|
||||||
systemImageSource = "google"
|
// systemImageSource = "google"
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
|
|
||||||
// This is the configuration block for the Baseline Profile plugin.
|
// This is the configuration block for the Baseline Profile plugin.
|
||||||
// You can specify to run the generators on a managed devices or connected devices.
|
// You can specify to run the generators on a managed devices or connected devices.
|
||||||
|
// For connected devices, API 28+ (rooted) or 33+ (not rooted) is required.
|
||||||
baselineProfile {
|
baselineProfile {
|
||||||
managedDevices += "pixel6Api34"
|
// managedDevices += "pixel6Api34"
|
||||||
useConnectedDevices = false
|
useConnectedDevices = true
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user