From 018c5e538ba2ea43b8772eb36a4c331a12a205d4 Mon Sep 17 00:00:00 2001 From: Jonas Wanke Date: Mon, 12 Aug 2019 21:01:40 +0200 Subject: [PATCH 1/2] fix(course, myhpi): add java options --- hpi/cloud/course/v1test/course.proto | 4 ++++ hpi/cloud/myhpi/v1test/info_bit.proto | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/hpi/cloud/course/v1test/course.proto b/hpi/cloud/course/v1test/course.proto index a45c470..9b630fe 100644 --- a/hpi/cloud/course/v1test/course.proto +++ b/hpi/cloud/course/v1test/course.proto @@ -2,6 +2,10 @@ syntax = "proto3"; package hpi.cloud.course.v1test; +option java_multiple_files = true; +option java_outer_classname = "CourseProto"; +option java_package = "de.hpi.cloud.course.v1test"; + // A series of courses that cover the same topic and can take place on multiple // semesters. message CourseSeries { diff --git a/hpi/cloud/myhpi/v1test/info_bit.proto b/hpi/cloud/myhpi/v1test/info_bit.proto index 9f637b8..0490ce0 100644 --- a/hpi/cloud/myhpi/v1test/info_bit.proto +++ b/hpi/cloud/myhpi/v1test/info_bit.proto @@ -2,6 +2,10 @@ syntax = "proto3"; package hpi.cloud.myhpi.v1test; +option java_multiple_files = true; +option java_outer_classname = "InfoBitProto"; +option java_package = "de.hpi.cloud.myhpi.v1test"; + // A bit of information to show in a MyHPI context. message InfoBit { // Required, output only. The unique ID of this info bit. From 2a6928dfb691f005ced19539e63bdbc059020490 Mon Sep 17 00:00:00 2001 From: Jonas Wanke Date: Mon, 12 Aug 2019 21:06:08 +0200 Subject: [PATCH 2/2] chore: prepare release --- .unicornfig.yml | 2 +- CHANGELOG.md | 9 +++++++-- build.gradle | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.unicornfig.yml b/.unicornfig.yml index 4d8ef26..e62f062 100644 --- a/.unicornfig.yml +++ b/.unicornfig.yml @@ -7,5 +7,5 @@ description: "This repository contains the original interface definitions of pub \ definitions can provide a better understanding of HPI Cloud APIs and help you\ \ to utilize them more efficiently. You can also use these definitions with open\ \ source tools to generate client libraries, documentation, and other artifacts." -version: "0.0.3" +version: "0.0.4" githubName: "HPI-de/hpi-cloud-apis" diff --git a/CHANGELOG.md b/CHANGELOG.md index 8f527fb..e03340c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,7 +19,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ## [Unreleased] -## [0.0.3] - 2019-08-12 +## [0.0.4] - 2019-08-12 ### Added - add documentation on how to generate Dart code - **course:** add course definitions @@ -30,6 +30,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - shorten GitHub templates - **news:** shorten proto descriptions +## [0.0.3] - 2019-08-12 +### BREAKING CHANGES +- **course, myhpi:** split message definitions into multiple files + ## [0.0.2] - 2019-07-05 ### Changed - Updated library `com.google.protobuf:protobuf-java` to version 3.8.0. @@ -38,6 +42,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. Initial release with NewsService. -[Unreleased]: https://github.com/HPI-de/hpi-cloud-apis/compare/0.0.3...dev +[Unreleased]: https://github.com/HPI-de/hpi-cloud-apis/compare/0.0.4...dev +[0.0.4]: https://github.com/HPI-de/hpi-cloud-apis/compare/0.0.3...0.0.4 [0.0.3]: https://github.com/HPI-de/hpi-cloud-apis/compare/0.0.2...0.0.3 [0.0.2]: https://github.com/HPI-de/hpi-cloud-apis/compare/0.0.1...0.0.2 diff --git a/build.gradle b/build.gradle index d0bee9b..a9370d2 100644 --- a/build.gradle +++ b/build.gradle @@ -35,7 +35,7 @@ ext { githubReleaseNotes = 'CHANGELOG.md' allLicenses = ["Apache-2.0"] - libraryVersion = "0.0.3" + libraryVersion = "0.0.4" } task sourcesJar(type: Jar, dependsOn: classes) {