Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a requirements of JUnit platform Launcher and remove .jqwik-database #1026

Merged
merged 1 commit into from
Aug 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/config/_default/params.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description = ""

## Documentation
docsVersion = "1.0.0"
fixtureMonkeyVersion = "1.0.14"
fixtureMonkeyVersion = "1.0.22"

## Open Graph
images = ["fixtureMonkey.png"]
Expand Down
8 changes: 8 additions & 0 deletions docs/content/v1.0.x-kor/docs/get-started/requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,15 @@ Kotlin 환경에서는 **fixture-monkey-starter-kotlin** 을 대신 사용할

#### Gradle

`junit-platform-launcher` 런타임 의존성을 추가하셔야 합니다.
Gradle 9 이전은 런타임 의존성이 없어도 동작하나 Gradle 9부터 필수가 될 예정입니다.


[📔 Gradle 공식문서](https://docs.gradle.org/current/userguide/upgrading_version_8.html#test_suites)
[⚠️ 이슈](https://github.com/gradle/gradle/issues/26114#issuecomment-1729133753)

```groovy
testRuntimeOnly("org.junit.platform:junit-platform-launcher:{version}")
testImplementation("com.navercorp.fixturemonkey:fixture-monkey-starter:{{< fixture-monkey-version >}}")
```

Expand Down
7 changes: 7 additions & 0 deletions docs/content/v1.0.x/docs/get-started/requirements.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,14 @@ weight: 21
For Kotlin environments, you can use **fixture-monkey-starter-kotlin**

#### Gradle
Add `junit-platform-launcher` as a runtime dependency.
The dependency is optional below Gradle 9, but it will be mandatory from Gradle 9 onwards.

[📔 Gradle Offical Documentation](https://docs.gradle.org/current/userguide/upgrading_version_8.html#test_suites)
[⚠️ Issue](https://github.com/gradle/gradle/issues/26114#issuecomment-1729133753)

```groovy
testRuntimeOnly("org.junit.platform:junit-platform-launcher:{version}")
testImplementation("com.navercorp.fixturemonkey:fixture-monkey-starter:{{< fixture-monkey-version >}}")
```

Expand Down
19 changes: 19 additions & 0 deletions fixture-monkey/src/main/resources/junit-platform.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#
# Fixture Monkey
#
# Copyright (c) 2021-present NAVER Corp.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

jqwik.database =
Loading