From f0250fe2d8cf1b75605b30eba04aa05ebd0f93b8 Mon Sep 17 00:00:00 2001 From: Hannes Achleitner Date: Fri, 10 May 2024 06:19:41 +0200 Subject: [PATCH] compileOptions java 17 --- applications/HelloIOIO/build.gradle | 5 ++++- applications/HolidayIOIO/build.gradle | 4 ++++ applications/IOIOManager/build.gradle | 5 +++++ applications/IOIOSimpleApp/build.gradle | 4 ++++ 4 files changed, 17 insertions(+), 1 deletion(-) diff --git a/applications/HelloIOIO/build.gradle b/applications/HelloIOIO/build.gradle index 03b01110..69268366 100644 --- a/applications/HelloIOIO/build.gradle +++ b/applications/HelloIOIO/build.gradle @@ -16,7 +16,10 @@ android { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunnerArguments useTestStorageService: 'true' } - + compileOptions { + sourceCompatibility JavaVersion.VERSION_17 + targetCompatibility JavaVersion.VERSION_17 + } } dependencies { diff --git a/applications/HolidayIOIO/build.gradle b/applications/HolidayIOIO/build.gradle index a7e7d5a0..2bb86c41 100644 --- a/applications/HolidayIOIO/build.gradle +++ b/applications/HolidayIOIO/build.gradle @@ -14,6 +14,10 @@ android { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunnerArguments useTestStorageService: 'true' } + compileOptions { + sourceCompatibility JavaVersion.VERSION_17 + targetCompatibility JavaVersion.VERSION_17 + } } dependencies { diff --git a/applications/IOIOManager/build.gradle b/applications/IOIOManager/build.gradle index 5f3f4456..de1181ac 100644 --- a/applications/IOIOManager/build.gradle +++ b/applications/IOIOManager/build.gradle @@ -15,6 +15,11 @@ android { testInstrumentationRunnerArguments useTestStorageService: 'true' } + compileOptions { + sourceCompatibility JavaVersion.VERSION_17 + targetCompatibility JavaVersion.VERSION_17 + } + buildTypes { release { minifyEnabled true diff --git a/applications/IOIOSimpleApp/build.gradle b/applications/IOIOSimpleApp/build.gradle index 441913f2..fdd2e474 100644 --- a/applications/IOIOSimpleApp/build.gradle +++ b/applications/IOIOSimpleApp/build.gradle @@ -14,6 +14,10 @@ android { testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunnerArguments useTestStorageService: 'true' } + compileOptions { + sourceCompatibility JavaVersion.VERSION_17 + targetCompatibility JavaVersion.VERSION_17 + } } dependencies {