diff --git a/app/build.gradle b/app/build.gradle index 98ea67753..cd7a49e03 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -9,7 +9,7 @@ plugins { } if (file('../roborazzi-gradle-plugin/build/libs/roborazzi-gradle-plugin.jar').exists()) { // for sync - apply plugin: 'io.github.takahirom.roborazzi.gradle' + apply plugin: 'io.github.takahirom.roborazzi' } android { diff --git a/gradle.properties b/gradle.properties index ea0406c94..434f5e666 100644 --- a/gradle.properties +++ b/gradle.properties @@ -32,7 +32,7 @@ kotlin.code.style=official android.nonTransitiveRClass=true GROUP=io.github.takahirom.roborazzi -VERSION_NAME=1.0.0-alpha-2 +VERSION_NAME=1.0.0-alpha-3 SONATYPE_AUTOMATIC_RELEASE=true diff --git a/roborazzi-gradle-plugin/build.gradle b/roborazzi-gradle-plugin/build.gradle index 91e113f19..96dc71065 100644 --- a/roborazzi-gradle-plugin/build.gradle +++ b/roborazzi-gradle-plugin/build.gradle @@ -4,12 +4,18 @@ apply plugin: 'java-gradle-plugin' gradlePlugin { plugins { roborazzi { - id = 'io.github.takahirom.roborazzi.gradle' + id = 'io.github.takahirom.roborazzi' implementationClass = 'io.github.takahirom.roborazzi.RoborazziPlugin' } } } +java { + toolchain { + languageVersion.set(JavaLanguageVersion.of(11)) + } +} + dependencies { compileOnly gradleApi() compileOnly "com.android.tools.build:gradle:7.3.1"