From ce74e6be671a54917bf867fe30971f681d4ea330 Mon Sep 17 00:00:00 2001 From: Julien Herr Date: Sun, 25 Aug 2024 23:23:28 +0200 Subject: [PATCH] fix: update plugin according to gradle api plugin --- jsonschema2pojo-gradle-plugin/example/android/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jsonschema2pojo-gradle-plugin/example/android/build.gradle b/jsonschema2pojo-gradle-plugin/example/android/build.gradle index 90638261d..06097c183 100644 --- a/jsonschema2pojo-gradle-plugin/example/android/build.gradle +++ b/jsonschema2pojo-gradle-plugin/example/android/build.gradle @@ -5,7 +5,7 @@ buildscript { mavenCentral() } dependencies { - if (JavaVersion.current().isJava11Compatible()) { + if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_17)) { classpath 'com.android.tools.build:gradle:8.5.2' } else { classpath 'com.android.tools.build:gradle:4.2.2'