Skip to content

Commit

Permalink
137: Publish gradle plugin artifacts which conform to the Gradle plug…
Browse files Browse the repository at this point in the history
…in DSL dependency spec
  • Loading branch information
DanielJette committed May 25, 2024
1 parent 38f6b24 commit 850c35b
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 17 deletions.
4 changes: 2 additions & 2 deletions Plugins/Gradle/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -109,4 +109,4 @@ jacocoTestReport {
csv.required = false
html.outputLocation = layout.buildDirectory.dir('jacocoHtml')
}
}
}
13 changes: 6 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
13 changes: 6 additions & 7 deletions docs/docs/get-started/1-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 850c35b

Please sign in to comment.