Skip to content
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
21 changes: 6 additions & 15 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
ref: master # for ratchet
- uses: actions/checkout@v6
- uses: ./.github/actions/setup-java
with:
java-version: 17
- run: ./gradlew spotlessApply
- uses: reviewdog/action-suggester@v1
with:
Expand All @@ -36,6 +38,8 @@ jobs:
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/setup-java
with:
java-version: 17
- run: ./gradlew publishToMavenLocal test
env:
TEST_SERVER_URL: http://localhost:${{ job.services.app.ports[3000] }}
Expand Down Expand Up @@ -66,6 +70,8 @@ jobs:
steps:
- uses: actions/checkout@v6
- uses: ./.github/actions/setup-java
with:
java-version: 17
- run: ./gradlew testUnrollAcceptanceTest
env:
TEST_SERVER_URL: http://localhost:3000
Expand Down Expand Up @@ -97,11 +103,6 @@ jobs:
fail-fast: false
matrix:
agp_version:
- '7.0.0'
- '7.1.0'
- '7.2.0'
- '7.3.0'
- '7.4.0'
- '8.0.0'
- '8.1.0'
- '8.2.0'
Expand All @@ -120,16 +121,6 @@ jobs:
- '9.1.0'
- '9.2.0'
include:
- agp_version: '7.0.0'
gradle_version: '7.0.2'
- agp_version: '7.1.0'
gradle_version: '7.2'
- agp_version: '7.2.0'
gradle_version: '7.3.3'
- agp_version: '7.3.0'
gradle_version: '7.4.2'
- agp_version: '7.4.0'
gradle_version: '7.5'
- agp_version: '8.0.0'
gradle_version: '8.0'
java_version: '17'
Expand Down
20 changes: 18 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,25 @@
# ChangeLog

## Unreleased

## ver 2.10.0

Comment thread
tnj marked this conversation as resolved.
- Migrate to Android Gradle Plugin's public `androidComponents`/Artifacts API and support AGP 9.x. [#283](https://github.com/DeployGate/gradle-deploygate-plugin/pull/283)
- Support the following Android Gradle Plugin versions:
- 8.8.x with Gradle 8.10.2
- 8.9.x with Gradle 8.11.1
- 8.10.x with Gradle 8.11.1
- 8.11.x with Gradle 8.13
- 8.12.x with Gradle 8.13
- 8.13.x with Gradle 8.13
- 9.0.x with Gradle 9.1.0
- 9.1.x with Gradle 9.3.1
- 9.2.x with Gradle 9.4.1
- Support Gradle's configuration cache. [#272](https://github.com/DeployGate/gradle-deploygate-plugin/pull/272)

### Breaking Changes

- Drop support for Android Gradle Plugin 4.2.x–7.4.x and Gradle 6.x–7.x.
- The minimum required Android Gradle Plugin is now **8.0** (was 4.2.0), the minimum required Gradle is now **8.0** (was 6.7.1), and **JDK 17** is required. To keep using AGP 4.2.x–7.4.x or Gradle 6.x–7.x, stay on 2.9.x or earlier.

## ver 2.9.0

- Support Android Gradle Plugin of below:
Expand Down
77 changes: 37 additions & 40 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Gradle DeployGate Plugin

[![Build Status](https://travis-ci.org/DeployGate/gradle-deploygate-plugin.png?branch=master)](https://travis-ci.org/DeployGate/gradle-deploygate-plugin)
[![Build Status](https://github.com/DeployGate/gradle-deploygate-plugin/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/DeployGate/gradle-deploygate-plugin/actions/workflows/build-and-test.yml)
[ ![Download](https://img.shields.io/maven-central/v/com.deploygate/gradle) ](https://search.maven.org/artifact/com.deploygate/gradle)

This is the DeployGate plugin for the Gradle. You can build and deploy your apps to DeployGate by running a single task.
Expand Down Expand Up @@ -71,39 +71,39 @@ This plugin does not work with non-app modules and/or library modules correctly.

## Version Compatibility

| Android Gradle Plugin | Gradle DeployGate Plugin |
|:---------------------------|:-----------------------------|
| < 3.0.0 | 1.1.5 (No longer maintained) |
| 3.3.x, 3.4.x, 3.5.x | \>=2.0.0,\<2.6 |
| 3.6.x | \>=2.1.0,\<2.6 |
| 4.0.x | \>=2.2.0,\<2.6 |
| 4.1.x | \>=2.3.0,\<2.6 |
| 4.2.x | \>=2.4.0,\<2.10.0 |
| 7.0.x (Arctic Fox) | \>=2.4.0 |
| 7.1.x (Bumblebee) | \>=2.4.0 |
| 7.2.x (Chipmunk) | \>=2.4.0 |
| 7.3.x (Dolphin) | \>=2.4.0 |
| 7.4.x (Electric Eel) | \>=2.4.0 |
| 8.0.x (Flamingo) | \>=2.6.0 |
| 8.1.x (Giraffe) | \>=2.7.0 |
| 8.2.x (Hedgehog) | \>=2.7.0 |
| 8.3.x (Iguana) | \>=2.8.0 |
| 8.4.x (Jellyfish) | \>=2.8.0 |
| 8.5.x (Koala) | \>=2.8.0 |
| 8.6.x (Koala Feature Drop) | \>=2.8.0 |
| 8.7.x (Ladybug) | \>=2.8.0 |
| 8.8.x | \>=2.10.0 |
| 8.9.x | \>=2.10.0 |
| 8.10.x | \>=2.10.0 |
| 8.11.x | \>=2.10.0 |
| 8.12.x | \>=2.10.0 |
| 8.13.x | \>=2.10.0 |
| 9.0.x | \>=2.10.0 |
| 9.1.x | \>=2.10.0 |
| 9.2.x | \>=2.10.0 |
| Android Gradle Plugin | Gradle DeployGate Plugin |
|:-----------------------------|:----------------------------|
| < 3.0.0 | 1.1.5 (No longer maintained) |
| 3.3.x, 3.4.x, 3.5.x | \>=2.0.0,\<2.6 |
| 3.6.x | \>=2.1.0,\<2.6 |
| 4.0.x | \>=2.2.0,\<2.6 |
| 4.1.x | \>=2.3.0,\<2.6 |
| 4.2.x | \>=2.4.0,\<2.10.0 |
| 7.0.x (Arctic Fox) | \>=2.4.0,\<2.10.0 |
| 7.1.x (Bumblebee) | \>=2.4.0,\<2.10.0 |
| 7.2.x (Chipmunk) | \>=2.4.0,\<2.10.0 |
| 7.3.x (Dolphin) | \>=2.4.0,\<2.10.0 |
| 7.4.x (Electric Eel) | \>=2.4.0,\<2.10.0 |
| 8.0.x (Flamingo) | \>=2.6.0 |
| 8.1.x (Giraffe) | \>=2.7.0 |
| 8.2.x (Hedgehog) | \>=2.7.0 |
| 8.3.x (Iguana) | \>=2.8.0 |
| 8.4.x (Jellyfish) | \>=2.8.0 |
| 8.5.x (Koala) | \>=2.8.0 |
| 8.6.x (Koala Feature Drop) | \>=2.8.0 |
| 8.7.x (Ladybug) | \>=2.8.0 |
| 8.8.x (Ladybug Feature Drop) | \>=2.10.0 |
| 8.9.x (Meerkat) | \>=2.10.0 |
| 8.10.x (Meerkat Feature Drop) | \>=2.10.0 |
| 8.11.x (Narwhal) | \>=2.10.0 |
| 8.12.x (Narwhal Feature Drop) | \>=2.10.0 |
| 8.13.x (Otter) | \>=2.10.0 |
| 9.0.x | \>=2.10.0 |
| 9.1.x | \>=2.10.0 |
| 9.2.x | \>=2.10.0 |

> **Gradle DeployGate Plugin 2.10.0** migrated to AGP's public `androidComponents`/Artifacts API and
> therefore requires **AGP 7.0+** and **Gradle 7.0+**. To use AGP 4.2.x–6.x, stay on 2.9.x or earlier.
> therefore requires **AGP 8.0+**, **Gradle 8.0+**, and **JDK 17**. To use AGP 4.2.x–7.4.x, stay on 2.9.x or earlier.

### Canary/Beta support table

Expand All @@ -113,24 +113,21 @@ We are not supporting Canary(Alpha) versions because of API stability. Please wa

See the test matrix of [.github/workflows/build-and-test.yml](./.github/workflows/build-and-test.yml) for the latest information.

| JRE | Android Gradle Plugin | Gradle DeployGate Plugin |
|:----|:----------------------|:-------------------------|
| 17 | - | - |

### Binary compatibility

| Gradle DeployGate Plugin | Minimum JRE version |
|:-------------------------|:--------------------|
| \<2.6 | 7 |
| \>=2.6.0 | 8 |
| \>=2.10.0 | 17 |

### Gradle compatibility

| Gradle DeployGate Plugin | Minimum Gradle version |
|:-------------------------|:-----------------------|
| \<2.6 | 5.4 |
| \>=2.6.0 | 6.7.1 |
| \>=2.10.0 | 7.0 |
| \>=2.10.0 | 8.0 |

## Usage

Expand Down Expand Up @@ -310,7 +307,7 @@ If you get a time-out error from jitpack, then please run your task again.

### Requirements

- JRE 11+
- JRE 17+
- Docker (only for testing)

### Steps
Expand All @@ -327,7 +324,7 @@ And also, please make sure your changes pass unit tests and acceptance tests. CI

```bash
# please make sure https://github.com/DeployGate/deploygate-mock-server/pkgs/container/deploygate-mock-server has been launched
./gradlew test acceptanceTest
./gradlew test testUnrollAcceptanceTest testPluginAcceptanceTest
```

## <a name="migrate-v2">Migrate from v1 to v2</a>
Expand Down Expand Up @@ -417,7 +414,7 @@ See [CHANGELOG.md](./CHANGELOG.md)

# License

Copyright 2015-2020 DeployGate Inc.
Copyright 2015-2026 DeployGate Inc.

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

Expand Down
77 changes: 37 additions & 40 deletions README_JP.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Gradle DeployGate Plugin

[![Build Status](https://travis-ci.org/DeployGate/gradle-deploygate-plugin.png?branch=master)](https://travis-ci.org/DeployGate/gradle-deploygate-plugin)
[![Build Status](https://github.com/DeployGate/gradle-deploygate-plugin/actions/workflows/build-and-test.yml/badge.svg)](https://github.com/DeployGate/gradle-deploygate-plugin/actions/workflows/build-and-test.yml)
[ ![Download](https://img.shields.io/maven-central/v/com.deploygate/gradle) ](https://search.maven.org/artifact/com.deploygate/gradle)

DeployGate Gradle プラグインです。DeployGate 経由でアプリを配信するための Gradle タスクが簡単に設定できます。
Expand Down Expand Up @@ -69,39 +69,39 @@ DeployGate Gradle プラグインは非 app モジュールや android-library

## Version Compatibility

| Android Gradle Plugin | Gradle DeployGate Plugin |
|:---------------------------|:-------------------------|
| < 3.0.0 | 1.1.5 (保守終了) |
| 3.3.x, 3.4.x, 3.5.x | \>=2.0.0,\<2.6 |
| 3.6.x | \>=2.1.0,\<2.6 |
| 4.0.x | \>=2.2.0,\<2.6 |
| 4.1.x | \>=2.3.0,\<2.6 |
| 4.2.x | \>=2.4.0,\<2.10.0 |
| 7.0.x (Arctic Fox) | \>=2.4.0 |
| 7.1.x (Bumblebee) | \>=2.4.0 |
| 7.2.x (Chipmunk) | \>=2.4.0 |
| 7.3.x (Dolphin) | \>=2.4.0 |
| 7.4.x (Electric Eel) | \>=2.4.0 |
| 8.0.x (Flamingo) | \>=2.6.0 |
| 8.1.x (Giraffe) | \>=2.7.0 |
| 8.2.x (Hedgehog) | \>=2.7.0 |
| 8.3.x (Iguana) | \>=2.8.0 |
| 8.4.x (Jellyfish) | \>=2.8.0 |
| 8.5.x (Koala) | \>=2.8.0 |
| 8.6.x (Koala Feature Drop) | \>=2.8.0 |
| 8.7.x (Ladybug) | \>=2.8.0 |
| 8.8.x | \>=2.10.0 |
| 8.9.x | \>=2.10.0 |
| 8.10.x | \>=2.10.0 |
| 8.11.x | \>=2.10.0 |
| 8.12.x | \>=2.10.0 |
| 8.13.x | \>=2.10.0 |
| 9.0.x | \>=2.10.0 |
| 9.1.x | \>=2.10.0 |
| 9.2.x | \>=2.10.0 |
| Android Gradle Plugin | Gradle DeployGate Plugin |
|:-----------------------------|:------------------------|
| < 3.0.0 | 1.1.5 (保守終了) |
| 3.3.x, 3.4.x, 3.5.x | \>=2.0.0,\<2.6 |
| 3.6.x | \>=2.1.0,\<2.6 |
| 4.0.x | \>=2.2.0,\<2.6 |
| 4.1.x | \>=2.3.0,\<2.6 |
| 4.2.x | \>=2.4.0,\<2.10.0 |
| 7.0.x (Arctic Fox) | \>=2.4.0,\<2.10.0 |
| 7.1.x (Bumblebee) | \>=2.4.0,\<2.10.0 |
| 7.2.x (Chipmunk) | \>=2.4.0,\<2.10.0 |
| 7.3.x (Dolphin) | \>=2.4.0,\<2.10.0 |
| 7.4.x (Electric Eel) | \>=2.4.0,\<2.10.0 |
| 8.0.x (Flamingo) | \>=2.6.0 |
| 8.1.x (Giraffe) | \>=2.7.0 |
| 8.2.x (Hedgehog) | \>=2.7.0 |
| 8.3.x (Iguana) | \>=2.8.0 |
| 8.4.x (Jellyfish) | \>=2.8.0 |
| 8.5.x (Koala) | \>=2.8.0 |
| 8.6.x (Koala Feature Drop) | \>=2.8.0 |
| 8.7.x (Ladybug) | \>=2.8.0 |
| 8.8.x (Ladybug Feature Drop) | \>=2.10.0 |
| 8.9.x (Meerkat) | \>=2.10.0 |
| 8.10.x (Meerkat Feature Drop) | \>=2.10.0 |
| 8.11.x (Narwhal) | \>=2.10.0 |
| 8.12.x (Narwhal Feature Drop) | \>=2.10.0 |
| 8.13.x (Otter) | \>=2.10.0 |
| 9.0.x | \>=2.10.0 |
| 9.1.x | \>=2.10.0 |
| 9.2.x | \>=2.10.0 |

> **Gradle DeployGate Plugin 2.10.0** は AGP の公開 API である `androidComponents`/Artifacts API へ移行したため、
> **AGP 7.0 以上**および **Gradle 7.0 以上**が必要です。AGP 4.2.x〜6.x を使う場合は 2.9.x 以前をご利用ください。
> **AGP 8.0 以上****Gradle 8.0 以上**・**JDK 17** が必要です。AGP 4.2.x〜7.4.x を使う場合は 2.9.x 以前をご利用ください。

### Canary/Beta サポート情報

Expand All @@ -111,24 +111,21 @@ API仕様が頻繁に変わる可能性があることから、Canary(Alpha) バ

[.github/workflows/build-and-test.yml](./.github/workflows/build-and-test.yml) を参考にしてください

| JRE | Android Gradle Plugin | Gradle DeployGate Plugin |
|:----|:----------------------|:-------------------------|
| 17 | - | - |

### Binary compatibility

| Gradle DeployGate Plugin | Minimum JRE version |
|:-------------------------|:--------------------|
| \<2.6 | 7 |
| \>=2.6.0 | 8 |
| \>=2.10.0 | 17 |

### Gradle compatibility

| Gradle DeployGate Plugin | Minimum Gradle version |
|:-------------------------|:-----------------------|
| \<2.6 | 5.4 |
| \>=2.6.0 | 6.7.1 |
| \>=2.10.0 | 7.0 |
| \>=2.10.0 | 8.0 |

## Usage

Expand Down Expand Up @@ -304,7 +301,7 @@ jitpack.io は初回のリクエストを受けてからスナップショット

### 要求

- JRE 11+
- JRE 17+
- Docker (テスト用の機能のみ)

### Steps
Expand All @@ -321,7 +318,7 @@ jitpack.io は初回のリクエストを受けてからスナップショット

```bash
# https://github.com/DeployGate/deploygate-mock-server/pkgs/container/deploygate-mock-server を起動してください
./gradlew test acceptanceTest
./gradlew test testUnrollAcceptanceTest testPluginAcceptanceTest
```

## <a name="migrate-v2">v1 から v2 への移行</a>
Expand Down Expand Up @@ -412,7 +409,7 @@ deploygate {

# License

Copyright 2015-2019 DeployGate Inc.
Copyright 2015-2026 DeployGate Inc.

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

Expand Down
Loading
Loading