Skip to content

Commit

Permalink
Update Jib versions after 3.1.0 release (GoogleContainerTools#3291)
Browse files Browse the repository at this point in the history
* Update Jib versions after 3.1.0 release
  • Loading branch information
mpeddada1 authored Jun 9, 2021
1 parent 87e26d4 commit 47106a6
Show file tree
Hide file tree
Showing 17 changed files with 34 additions and 22 deletions.
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,8 @@ To use a local build of the `jib-gradle-plugin`:
1. Modify your test project's `build.gradle` to use the snapshot version
```groovy
plugins {
// id 'com.google.cloud.tools.jib' version '3.0.0'
id 'com.google.cloud.tools.jib' version '3.0.1-SNAPSHOT'
// id 'com.google.cloud.tools.jib' version '3.1.0'
id 'com.google.cloud.tools.jib' version '3.1.1-SNAPSHOT'
}

```
Expand Down
2 changes: 1 addition & 1 deletion examples/dropwizard/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<dropwizard-template-config.version>1.5.0</dropwizard-template-config.version>

<jib.container.appRoot>/app</jib.container.appRoot>
<jib-maven-plugin.version>3.0.0</jib-maven-plugin.version>
<jib-maven-plugin.version>3.1.0</jib-maven-plugin.version>
</properties>

<dependencyManagement>
Expand Down
2 changes: 1 addition & 1 deletion examples/helloworld/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id 'java'
id 'com.google.cloud.tools.jib' version '3.0.0'
id 'com.google.cloud.tools.jib' version '3.1.0'
}

sourceCompatibility = 1.8
Expand Down
2 changes: 1 addition & 1 deletion examples/helloworld/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jib-maven-plugin.version>3.0.0</jib-maven-plugin.version>
<jib-maven-plugin.version>3.1.0</jib-maven-plugin.version>
<maven-compiler-plugin.version>3.8.0</maven-compiler-plugin.version>
</properties>

Expand Down
2 changes: 1 addition & 1 deletion examples/java-agent/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id 'java'
id 'com.google.cloud.tools.jib' version '3.0.0'
id 'com.google.cloud.tools.jib' version '3.1.0'
id 'de.undercouch.download' version '4.0.0'
id "com.gorylenko.gradle-git-properties" version "2.2.0"
}
Expand Down
2 changes: 1 addition & 1 deletion examples/java-agent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jib-maven-plugin.version>3.0.0</jib-maven-plugin.version>
<jib-maven-plugin.version>3.1.0</jib-maven-plugin.version>
<maven-compiler-plugin.version>3.8.0</maven-compiler-plugin.version>
<download-maven-plugin.version>1.4.2</download-maven-plugin.version>
<git-commit-id-plugin.version>3.0.1</git-commit-id-plugin.version>
Expand Down
2 changes: 1 addition & 1 deletion examples/ktor/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
application
kotlin("jvm") version "1.3.10"
id("com.google.cloud.tools.jib") version "3.0.0"
id("com.google.cloud.tools.jib") version "3.1.0"
}

group = "example"
Expand Down
2 changes: 1 addition & 1 deletion examples/micronaut/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ plugins {
id "groovy"
id "com.github.johnrengelman.shadow" version "5.2.0"
id "application"
id 'com.google.cloud.tools.jib' version '3.0.0'
id 'com.google.cloud.tools.jib' version '3.1.0'
}

version "0.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/multi-module/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
plugins {
id 'org.springframework.boot' version '2.0.3.RELEASE' apply false
id 'io.spring.dependency-management' version '1.0.6.RELEASE' apply false
id 'com.google.cloud.tools.jib' version '3.0.0' apply false
id 'com.google.cloud.tools.jib' version '3.1.0' apply false
}
2 changes: 1 addition & 1 deletion examples/multi-module/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<plugin>
<groupId>com.google.cloud.tools</groupId>
<artifactId>jib-maven-plugin</artifactId>
<version>3.0.0</version>
<version>3.1.0</version>
</plugin>
</plugins>
</pluginManagement>
Expand Down
2 changes: 1 addition & 1 deletion examples/spring-boot/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ plugins {
id 'idea'
id 'org.springframework.boot' version '2.1.6.RELEASE'
id 'io.spring.dependency-management' version '1.0.6.RELEASE'
id 'com.google.cloud.tools.jib' version '3.0.0'
id 'com.google.cloud.tools.jib' version '3.1.0'
}

repositories {
Expand Down
2 changes: 1 addition & 1 deletion examples/spring-boot/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<plugin>
<groupId>com.google.cloud.tools</groupId>
<artifactId>jib-maven-plugin</artifactId>
<version>3.0.0</version>
<version>3.1.0</version>
</plugin>
</plugins>
</build>
Expand Down
2 changes: 1 addition & 1 deletion examples/vertx/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id 'io.vertx.vertx-plugin' version '0.1.0'
id 'com.google.cloud.tools.jib' version '3.0.0'
id 'com.google.cloud.tools.jib' version '3.1.0'
}

repositories {
Expand Down
10 changes: 8 additions & 2 deletions jib-gradle-plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.

### Added

### Changed

### Fixed

## 3.1.0

### Added

- For Google Artifact Registry (`*-docker.pkg.dev`), Jib now tries [Google Application Default Credentials](https://developers.google.com/identity/protocols/application-default-credentials) last like it has been doing for `gcr.io`. ([#3241](https://github.com/GoogleContainerTools/jib/pull/3241))
- Added lazy evaluation for `jib.container.labels` using Gradle Property and Provider. ([#3242](https://github.com/GoogleContainerTools/jib/issues/3242))

Expand All @@ -14,8 +22,6 @@ All notable changes to this project will be documented in this file.
- For Java 9+ apps, the default Java runtime classpath explicitly lists all the app dependencies, preserving the dependency loading order declared by Gradle. This is done by changing the default entrypoint to use the new classpath JVM argument file (basically `java -cp @/app/jib-classpath-file`). As such, `jib.container.expandClasspathDependencies` takes no effect for Java 9+. ([#3280](https://github.com/GoogleContainerTools/jib/pull/3280))
- Timestamps of file entries in a tarball built with `jibBuildTar` are set to the epoch, making the tarball reproducible. ([#3158](https://github.com/GoogleContainerTools/jib/issues/3158))

### Fixed

## 3.0.0

### Added
Expand Down
2 changes: 1 addition & 1 deletion jib-gradle-plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ In your Gradle Java project, add the plugin to your `build.gradle`:

```groovy
plugins {
id 'com.google.cloud.tools.jib' version '3.0.0'
id 'com.google.cloud.tools.jib' version '3.1.0'
}
```

Expand Down
10 changes: 8 additions & 2 deletions jib-maven-plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.

### Added

### Changed

### Fixed

## 3.1.0

### Added

- For Google Artifact Registry (`*-docker.pkg.dev`), Jib now tries [Google Application Default Credentials](https://developers.google.com/identity/protocols/application-default-credentials) last like it has been doing for `gcr.io`. ([#3241](https://github.com/GoogleContainerTools/jib/pull/3241))

### Changed
Expand All @@ -13,8 +21,6 @@ All notable changes to this project will be documented in this file.
- For Java 9+ apps, the default Java runtime classpath explicitly lists all the app dependencies, preserving the dependency loading order declared by Maven. This is done by changing the default entrypoint to use the new classpath JVM argument file (basically `java -cp @/app/jib-classpath-file`). As such, `<container><expandClasspathDependencies>` takes no effect for Java 9+. ([#3280](https://github.com/GoogleContainerTools/jib/pull/3280))
- Timestamps of file entries in a tarball built with `jib:buildTar` are set to the epoch, making the tarball reproducible. ([#3158](https://github.com/GoogleContainerTools/jib/issues/3158))

### Fixed

## 3.0.0

### Added
Expand Down
6 changes: 3 additions & 3 deletions jib-maven-plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@ For information about the project, see the [Jib project README](../README.md).
You can containerize your application easily with one command:

```shell
mvn compile com.google.cloud.tools:jib-maven-plugin:3.0.0:build -Dimage=<MY IMAGE>
mvn compile com.google.cloud.tools:jib-maven-plugin:3.1.0:build -Dimage=<MY IMAGE>
```

This builds and pushes a container image for your application to a container registry. *If you encounter authentication issues, see [Authentication Methods](#authentication-methods).*

To build to a Docker daemon, use:

```shell
mvn compile com.google.cloud.tools:jib-maven-plugin:3.0.0:dockerBuild
mvn compile com.google.cloud.tools:jib-maven-plugin:3.1.0:dockerBuild
```

If you would like to set up Jib as part of your Maven build, follow the guide below.
Expand All @@ -72,7 +72,7 @@ In your Maven Java project, add the plugin to your `pom.xml`:
<plugin>
<groupId>com.google.cloud.tools</groupId>
<artifactId>jib-maven-plugin</artifactId>
<version>3.0.0</version>
<version>3.1.0</version>
<configuration>
<to>
<image>myimage</image>
Expand Down

0 comments on commit 47106a6

Please sign in to comment.