Skip to content

Commit 61c416f

Browse files
authored
Merge pull request #300 from ndtp/agp-9-fix-deprecations
2 parents 97d3e6a + d333cd9 commit 61c416f

13 files changed

Lines changed: 24 additions & 17 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Plugins/Intellij/out
1111
Plugins/.idea/
1212
docs/yarn.lock
1313
Plugins/Gradle/.idea/
14+
Plugins/Gradle/.kotlin/
1415
Plugins/Gradle/gradle/wrapper/
1516
Plugins/Gradle/gradlew
1617
Plugins/Gradle/gradlew.bat

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 5.0.2
2+
3+
* Declare AGP as compileOnly to prevent deprecated android {} accessor in consuming projects
4+
15
## 5.0.1
26

37
* Fix Testify plugin crash on Android Gradle Plugin 9+

Ext/Accessibility/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ For more information about _Accessibility Checking_, please see https://develope
1818

1919
```groovy
2020
plugins {
21-
id("dev.testify") version "5.0.1" apply false
21+
id("dev.testify") version "5.0.2" apply false
2222
}
2323
```
2424

@@ -29,7 +29,7 @@ Ensure that `mavenCentral()` is available to both `pluginManagement` and `depend
2929
**Application build.gradle**
3030
```groovy
3131
dependencies {
32-
androidTestImplementation "dev.testify:testify-accessibility:5.0.1"
32+
androidTestImplementation "dev.testify:testify-accessibility:5.0.2"
3333
}
3434
```
3535

Ext/Compose/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Easily create screenshot tests for `@Composable` functions.
1212

1313
```groovy
1414
plugins {
15-
id("dev.testify") version "5.0.1" apply false
15+
id("dev.testify") version "5.0.2" apply false
1616
}
1717
```
1818

@@ -24,7 +24,7 @@ Ensure that `mavenCentral()` is available to both `pluginManagement` and `depend
2424
**Application build.gradle**
2525
```groovy
2626
dependencies {
27-
androidTestImplementation "dev.testify:testify-compose:5.0.1"
27+
androidTestImplementation "dev.testify:testify-compose:5.0.2"
2828
androidTestImplementation "androidx.test:rules:1.5.0"
2929
androidTestImplementation "androidx.compose.ui:ui-test-junit4:1.4.3"
3030
}

Ext/Fullscreen/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ You can set a comparison tolerance using [ScreenshotRule.setExactness](../../Lib
2020

2121
```groovy
2222
plugins {
23-
id("dev.testify") version "5.0.1" apply false
23+
id("dev.testify") version "5.0.2" apply false
2424
}
2525
```
2626

@@ -31,7 +31,7 @@ Ensure that `mavenCentral()` is available to both `pluginManagement` and `depend
3131
**Application build.gradle**
3232
```groovy
3333
dependencies {
34-
androidTestImplementation "dev.testify:testify-fullscreen:5.0.1"
34+
androidTestImplementation "dev.testify:testify-fullscreen:5.0.2"
3535
}
3636
```
3737

Plugins/Gradle/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ To set a dependency reference to the Testify plugin:
1414

1515
```groovy
1616
plugins {
17-
id("dev.testify") version "5.0.1" apply false
17+
id("dev.testify") version "5.0.2" apply false
1818
}
1919
```
2020

Plugins/Gradle/build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,13 @@ test {
5656

5757
dependencies {
5858
implementation gradleApi()
59-
implementation libs.gradle
6059
implementation libs.kotlin.stdlib.jdk8
6160

61+
compileOnly libs.gradle
62+
6263
testRuntimeOnly libs.junit.platform.launcher
6364
testImplementation gradleTestKit()
65+
testImplementation libs.gradle
6466
testImplementation libs.junit.jupiter
6567
testImplementation libs.junit.jupiter.params
6668
testImplementation libs.mockk

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Testify plugin:
6767

6868
```groovy
6969
plugins {
70-
id("dev.testify") version "5.0.1" apply false
70+
id("dev.testify") version "5.0.2" apply false
7171
}
7272
```
7373

docs/docs/extensions/accessibility/1-setup.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ In order to use the Android Testify Accessibility Checks extension, you must fir
1010

1111
```groovy
1212
plugins {
13-
id("dev.testify") version "5.0.1" apply false
13+
id("dev.testify") version "5.0.2" apply false
1414
}
1515
```
1616

@@ -25,6 +25,6 @@ The Android Testify Accessibility Checks extension is packaged as a separate art
2525
**Application build.gradle**
2626
```groovy
2727
dependencies {
28-
androidTestImplementation "dev.testify:testify-accessibility:5.0.1"
28+
androidTestImplementation "dev.testify:testify-accessibility:5.0.2"
2929
}
3030
```

docs/docs/extensions/compose/1-setup.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ In order to use the Android Testify Compose extension, you must first configure
1010

1111
```groovy
1212
plugins {
13-
id("dev.testify") version "5.0.1" apply false
13+
id("dev.testify") version "5.0.2" apply false
1414
}
1515
```
1616

@@ -26,7 +26,7 @@ The Android Testify Compose extension is packaged as a separate artifact. You mu
2626
**Application build.gradle**
2727
```groovy
2828
dependencies {
29-
androidTestImplementation "dev.testify:testify-compose:5.0.1"
29+
androidTestImplementation "dev.testify:testify-compose:5.0.2"
3030
androidTestImplementation "androidx.test:rules:1.10.0"
3131
androidTestImplementation "androidx.compose.ui:ui-test-junit4:1.4.3"
3232
}

0 commit comments

Comments
 (0)