Update Java versions, add generated profiles

This commit is contained in:
Isira Seneviratne 2024-01-02 16:48:44 +05:30
parent c8c767f86d
commit df604e42b0
4 changed files with 25732 additions and 12 deletions

View File

@ -57,6 +57,7 @@ android {
jvmTarget = "17"
}
// Comment this block if issues occur while generating the baseline profile
splits {
abi {
isEnable = true

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -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 {