Releases: google/protobuf-gradle-plugin
Releases · google/protobuf-gradle-plugin
0.8.4 released
0.8.3 released
Major change:
- Dependencies can now be expressed as a tuple of
(group, name, version, classifier, ext)
egcom.example:example-plugin:0.0.0-rc0+experimental
(#31)
0.8.2 released
0.8.1 released
This is a bug-fix release. The protobuf
dependency is now transitive (#116)
0.8.0 released
Behavioral change
No longer add javanano
by default for Android projects. This is to align with the release of Protobuf 3.0.0 which promotes protobuf-lite instead of nano as the recommended flavor for Android. Please refer to README.md (look for "javalite").
If you want to continue using nano, you will need to add it manually, for example:
protobuf {
generateProtoTasks {
all()*.builtins {
javanano { }
}
}
}
Bug fixes
- Stop complaining about Gradle version on 3.0.
- Stop using deprecated API on Gradle 3.0
Logistics
- Refactored tests to use TestKit. No longer needs to install locally before running tests. (by @ngyukman)
- Travis support (by @jaredsburrows)
0.7.7 released
Improved performance of configuration phase (#42)
0.7.6 released
This release fixes the breakage with Gradle 2.12.
Gradle 2.12 is now the minimum supported version.
0.7.5 released
0.7.4 released
Changes:
- It's no longer a requirement that Java/Android plugins are applied before the protobuf plugin. The plugins can be applied in arbitrary order.
- The Gradle
plugins { }
DSL is now supported, e.g.,
plugins {
id "java"
id "com.google.protobuf" version "0.7.4"
}
- Requires at least Gradle 2.4 and Java 7
0.7.3 released
Added a set a new options under descriptorSetOptions
of the code generation task:
// Allows to override the default for the descriptor set location
task.descriptorSetOptions.path =
"${projectDir}/build/descriptors/{$task.sourceSet.name}.dsc"
// If true, the descriptor set will contain line number information
// and comments. Default is false.
task.descriptorSetOptions.includeSourceInfo = true
// If true, the descriptor set will contain all transitive imports and
// is therefore self-contained. Default is false.
task.descriptorSetOption.includeImports = true