Skip to content
This repository was archived by the owner on Apr 4, 2024. It is now read-only.

Commit 4b1abbf

Browse files
committed
Add jvm onto the tags for the jvm library.
1 parent 2e04629 commit 4b1abbf

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

Diff for: jvm/README.md

+10-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1-
It's a standard Gradle build, `./gradlew build` to assemble and test everything.
1+
# Selfie snapshot testing for Java, Kotlin, and the JVM
22

3-
One tricky thing is that inline snapshots requires changing the code being tested. To make this work, we have `undertest` projects. Their `test` task is disabled, and they have an `underTest` task instead. You'll note that every test in these projects is named `UT_SomethingTest`. That's because there is a corresponding `SomethingTest` in `selfie-runner-junit5` , and `SomethingTest` works by changing the source code in `UT_SomethingTest`, running builds, and making assertions about the state of snapshots and source code after the build.
3+
- [Quickstart](https://selfie.dev/jvm/get-started)
4+
- [Advanced](https://selfie.dev/jvm/advanced)
5+
- [Why selfie](https://selfie.dev/jvm)
6+
7+
## Contributing
8+
9+
PR's welcome! It's a standard Gradle build, `./gradlew build` to assemble and test everything.
10+
11+
One tricky thing is that testing inline snapshots requires changing the code being tested. To make this work, we have `undertest` projects. Their `test` task is disabled, and they have an `underTest` task instead. You'll note that every test in these projects is named `UT_SomethingTest`. That's because there is a corresponding `SomethingTest` in `selfie-runner-junit5` , and `SomethingTest` works by changing the source code in `UT_SomethingTest`, running builds, and making assertions about the state of snapshots and source code after the build.

Diff for: jvm/build.gradle

+4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ plugins {
55
repositories {
66
mavenCentral()
77
}
8+
spotlessChangelog {
9+
tagPrefix 'jvm/'
10+
commitMessage 'Published jvm/{{version}}'
11+
}
812
group =.proj('maven_group', 'the maven group, recommend com.diffplug')
913
apply from: rootProject.file('gradle/spotless.gradle')
1014
apply from: 干.file('base/changelog.gradle')

0 commit comments

Comments
 (0)