diff --git a/Plugins/Gradle/build.gradle b/Plugins/Gradle/build.gradle index 61a7b37d..07900de2 100644 --- a/Plugins/Gradle/build.gradle +++ b/Plugins/Gradle/build.gradle @@ -8,7 +8,7 @@ plugins { ext { pom = [ publishedGroupId : 'dev.testify', - artifact : 'plugin', + artifact : 'dev.testify.gradle.plugin', libraryName : 'testify-plugin', libraryDescription: 'Android screenshot instrumentation tests plugin.', siteUrl : 'https://github.com/ndtp/android-testify', @@ -109,4 +109,4 @@ jacocoTestReport { csv.required = false html.outputLocation = layout.buildDirectory.dir('jacocoHtml') } -} \ No newline at end of file +} diff --git a/README.md b/README.md index 18ebd2ff..f7d2e0c8 100644 --- a/README.md +++ b/README.md @@ -66,16 +66,15 @@ Testify plugin: **Root build.gradle** ```groovy -buildscript { - repositories { - mavenCentral() - } - dependencies { - classpath "dev.testify:plugin:2.0.0" - } +plugins { + id("dev.testify") version "3.0.0-preview04" apply false } ``` +**settings.gradle** + +Ensure that `mavenCentral()` is available to both `pluginManagement` and `dependencyResolutionManagement`. + **Application build.gradle** ```groovy diff --git a/build.gradle b/build.gradle index f98deb7f..927a130a 100644 --- a/build.gradle +++ b/build.gradle @@ -39,7 +39,7 @@ buildscript { 'mockk' : '1.13.5', // https://central.sonatype.com/artifact/io.mockk/mockk/1.13.4/versions 'slf4j' : '2.0.6', 'truth' : '1.1.5', // https://github.com/google/truth - 'testify' : '2.0.0', // https://github.com/ndtp/android-testify/releases + 'testify' : '3.0.0-preview04', // https://github.com/ndtp/android-testify/releases ] coreVersions = [ 'compileSdk': 33, diff --git a/docs/docs/get-started/1-setup.md b/docs/docs/get-started/1-setup.md index 00b72c69..12f76432 100644 --- a/docs/docs/get-started/1-setup.md +++ b/docs/docs/get-started/1-setup.md @@ -4,16 +4,15 @@ Before building your screenshot test with Testify, make sure to set a dependency **Root build.gradle** ```groovy -buildscript { - repositories { - mavenCentral() - } - dependencies { - classpath "dev.testify:plugin:2.0.0" - } +plugins { + id("dev.testify") version "3.0.0-preview04" apply false } ``` +**settings.gradle** + +Ensure that `mavenCentral()` is available to both `pluginManagement` and `dependencyResolutionManagement`. + **Application build.gradle** ```groovy plugins {