diff --git a/build.gradle b/build.gradle index a050d945..f259b381 100644 --- a/build.gradle +++ b/build.gradle @@ -25,8 +25,8 @@ group "software.amazon.cloudwatchlogs" allprojects { compileJava { - sourceCompatibility = '1.8' - targetCompatibility = '1.8' + sourceCompatibility = JavaVersion.VERSION_11 + targetCompatibility = JavaVersion.VERSION_11 } version = '3.1.0'