Skip to content

Commit

Permalink
Release v1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cosic committed May 1, 2023
2 parents 7308804 + 48c1c70 commit e658b4f
Show file tree
Hide file tree
Showing 13 changed files with 52 additions and 30 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
# 1.4.0

##### Add
* Support of [Android Gradle Plugin 8+ and JDK 17+](https://developer.android.com/build/releases/gradle-plugin#jdk-17-agp)

##### Other
* Upgrade Gradle upto 8.1
* Upgrade Android Gradle Plugin upto 8.0.0

# 1.3.6

##### Fix
* [issue#46](https://github.com/cianru/huawei-publish-gradle-plugin/issues/46) Broken Task Configuration Avoidance. Thanks @rmarma for contribution.

# 1.3.5

##### Add
Expand Down
21 changes: 11 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Huawei App Gallery Publishing

[![Maven Central](https://img.shields.io/maven-central/v/ru.cian/huawei-publish-gradle-plugin.svg)](https://search.maven.org/search?q=a:huawei-publish-gradle-plugin)
![Version](https://img.shields.io/badge/GradlePortal-1.3.5-green.svg)
![Version](https://img.shields.io/badge/Gradle-7.*-pink.svg)
![Version](https://img.shields.io/badge/GradlePortal-1.4.0-green.svg)
![Version](https://img.shields.io/badge/Gradle-8.*-pink.svg)
[![License](https://img.shields.io/github/license/srs/gradle-node-plugin.svg)](http://www.apache.org/licenses/LICENSE-2.0.html)

The plugin allows you to publish the android release build file (*.apk or *.aab) to the Huawei AppGallery.
Expand Down Expand Up @@ -34,12 +34,12 @@ The following features are available:
* Update App Basic Info for publishing build
* Separated settings for different configurations build types and flavors
* Support of Gradle Portal and Gradle DSL
* Support of Gradle 7.+
* Support of Gradle 8.+
* Support of Configuration Cache

The following features are missing:

* Change App Store Information: description, app icon, screenshots and etc.
* Support of Configuration Cache
* Updating Phased Release
* Rollout Holding

Expand All @@ -51,12 +51,13 @@ The following features doesn't support Huawei Publishing API:
The Android Gradle Plugin often changes the Variant API,
so a different version of AGP corresponds to a specific version of the current plugin

| AGP | Plugin |
|---------|--------|
| 4.0.+ | 1.2.3 |
| 4.1.+ | 1.2.4 |
| 4.2.+ | 1.2.6 |
| 7.+ | latest |
| Android Gradle Plugin | Huawei Publishing Plugin |
|-----------------------|--------------------------|
| 4.0.+ | 1.2.3 |
| 4.1.+ | 1.2.4 |
| 4.2.+ | 1.2.6 |
| 7.+ | 1.3.6 |
| 8.+ | 1.4.0 |

# Adding the plugin to your project

Expand Down
18 changes: 9 additions & 9 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ plugins.gradle.org.
## Prerequisites

1. A *published* GPG code-signing key
1. A Sonatype Nexus OSS account with permission to publish in ru.cian
1. A plugins.gradle.org account with permission to publish in ru.cian
1. Permission to push directly to https://github.com/cianru/huawei-publish-gradle-plugin
2. A Sonatype Nexus OSS account with permission to publish in ru.cian
3. A plugins.gradle.org account with permission to publish in ru.cian
4. Permission to push directly to https://github.com/cianru/huawei-publish-gradle-plugin

## Contents page

1. [Setup](docs/releasing/01-setup.md)
2. [Pushing a SNAPSHOT build to local repository](docs/releasing/02-publish-a-snapshot-to-local-repository.md)
3. [Pushing a SNAPSHOT build to Sonatype](docs/releasing/03-publish-a-snapshot-to-sonatype.md)
4. [Pushing a release build to Sonatype](docs/releasing/04-publish-a-release-build-to-sonatype.md)
5. [Pushing a release build to Bintray (DEPRECATED)](docs/releasing/05-publish-a-release-build-to-bintray.md)
6. [Pushing a release build to Gradle Plugin Portal](docs/releasing/06-publish-a-release-build-to-gradle-plugin-portal.md)
7. [Prepare Release Commit](docs/releasing/07-prepare-release-commit.md)
2. [Prepare Release Commit](docs/releasing/02-prepare-release-commit.md)
3. [Pushing a SNAPSHOT build to local repository](docs/releasing/03-publish-a-snapshot-to-local-repository.md)
4. [Pushing a SNAPSHOT build to Sonatype](docs/releasing/04-publish-a-snapshot-to-sonatype.md)
5. [Pushing a release build to Sonatype](docs/releasing/05-publish-a-release-build-to-sonatype.md)
6. [Pushing a release build to Bintray (DEPRECATED)](docs/releasing/06-publish-a-release-build-to-bintray.md)
7. [Pushing a release build to Gradle Plugin Portal](docs/releasing/07-publish-a-release-build-to-gradle-plugin-portal.md)
8. [Prepare Next Snapshot Version Commit](docs/releasing/08-prepare-next-snapshot-version-commit.md)
20 changes: 11 additions & 9 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,17 @@ allprojects {
}
}

//kotlin {
// jvmToolchain(libs.versions.jvm.get().toInt())
//}
//
//java {
// toolchain {
// languageVersion.set(JavaLanguageVersion.of(libs.versions.jvm.get()))
// }
//}
kotlin {
jvmToolchain {
languageVersion.set(JavaLanguageVersion.of(libs.versions.jvm.get()))
}
}

java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(libs.versions.jvm.get()))
}
}

configurations.all {
resolutionStrategy {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ compileSdkVersion = "33"
targetSdkVersion = "33"
minSdkVersion = "21"

jvm = "18"
jvm = "17"
kotlin = "1.8.21"
detekt = "1.22.0"
junitJupiter = "5.9.2"
Expand Down
5 changes: 5 additions & 0 deletions sample-kotlin/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,11 @@ android {
versionNameSuffix = "-debug"
}
}

compileOptions {
sourceCompatibility = JavaVersion.toVersion(libs.versions.jvm.get())
targetCompatibility = JavaVersion.toVersion(libs.versions.jvm.get())
}
}

configurations {
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ include(

pluginManagement {

val huaweiPublish = "1.3.5-SNAPSHOT"
val huaweiPublish = "1.4.0-SNAPSHOT"

resolutionStrategy {
eachPlugin {
Expand Down

0 comments on commit e658b4f

Please sign in to comment.