> For the complete documentation index, see [llms.txt](https://help.aikido.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.aikido.dev/docs/docs-ja/autofix-to/faq/gradle-jacoco-version-changes.md).

# Gradle - Jacocoのバージョン変更

**要するに** 必ずコミットしてください `gradlew` AutoFix が正しい Gradle バージョンを使用できるように、リポジトリに追加してください。

もし `gradlew` スクリプトがリポジトリに存在しない場合、AutoFix は Gradle 8.14.4 を使用します。おそらくこれは、そのリポジトリに必要な Gradle バージョンではありません。これにより、Jacoco のようなライブラリで予期しないバージョン上昇が発生する可能性があります。

次のコマンドを使って `gradlew` をリポジトリに追加してください:

```
## リポジトリに移動
cd <repository>

## gradlew ラッパーを生成
gradle wrapper

## gradlew ラッパーが作成されていることを確認し、実行可能にする
ls gradlew
chmod +x gradlew

## ラッパーをリポジトリにコミット
git add gradlew gradlew.bat gradle/wrapper/gradle-wrapper.jar gradle/wrapper/gradle-wrapper.properties
git commit -m 'gradle wrapper を追加'
```

以下を参照してください [gradle wrapper のドキュメント](https://docs.gradle.org/current/userguide/gradle_wrapper.html) 詳細はこちら。


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.aikido.dev/docs/docs-ja/autofix-to/faq/gradle-jacoco-version-changes.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
