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"
|
||||
}
|
||||
|
||||
// Comment this block if issues occur while generating the baseline profile
|
||||
splits {
|
||||
abi {
|
||||
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
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
targetCompatibility = JavaVersion.VERSION_1_8
|
||||
sourceCompatibility = JavaVersion.VERSION_17
|
||||
targetCompatibility = JavaVersion.VERSION_17
|
||||
}
|
||||
|
||||
kotlinOptions {
|
||||
jvmTarget = "1.8"
|
||||
jvmTarget = JavaVersion.VERSION_17.toString()
|
||||
}
|
||||
|
||||
defaultConfig {
|
||||
@ -28,20 +28,21 @@ android {
|
||||
|
||||
targetProjectPath = ":app"
|
||||
|
||||
testOptions.managedDevices.devices {
|
||||
create<ManagedVirtualDevice>("pixel6Api34") {
|
||||
device = "Pixel 6"
|
||||
apiLevel = 34
|
||||
systemImageSource = "google"
|
||||
}
|
||||
}
|
||||
// testOptions.managedDevices.devices {
|
||||
// create<ManagedVirtualDevice>("pixel6Api34") {
|
||||
// device = "Pixel 6"
|
||||
// apiLevel = 34
|
||||
// systemImageSource = "google"
|
||||
// }
|
||||
// }
|
||||
}
|
||||
|
||||
// This is the configuration block for the Baseline Profile plugin.
|
||||
// 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 {
|
||||
managedDevices += "pixel6Api34"
|
||||
useConnectedDevices = false
|
||||
// managedDevices += "pixel6Api34"
|
||||
useConnectedDevices = true
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
Loading…
x
Reference in New Issue
Block a user