Files
flipper/build.gradle
dependabot[bot] 0c365955d4 Bump protobuf-java from 3.17.3 to 3.18.0 (#2886)
Summary:
Bumps [protobuf-java](https://github.com/protocolbuffers/protobuf) from 3.17.3 to 3.18.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/protocolbuffers/protobuf/releases">protobuf-java's releases</a>.</em></p>
<blockquote>
<h2>Protocol Buffers v3.18.0</h2>
<h1>C++</h1>
<ul>
<li>Fix warnings raised by clang 11 (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8664">#8664</a>)</li>
<li>Make StringPiece constructible from std::string_view (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8707">#8707</a>)</li>
<li>Add missing capability attributes for LLVM 12 (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8714">#8714</a>)</li>
<li>Stop using std::iterator (deprecated in C++17). (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8741">#8741</a>)</li>
<li>Move field_access_listener from libprotobuf-lite to libprotobuf (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8775">#8775</a>)</li>
<li>Fix <a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/7047">#7047</a> Safely handle setlocale (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8735">#8735</a>)</li>
<li>Remove deprecated version of SetTotalBytesLimit() (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8794">#8794</a>)</li>
<li>Support arena allocation of google::protobuf::AnyMetadata (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8758">#8758</a>)</li>
<li>Fix undefined symbol error around SharedCtor() (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8827">#8827</a>)</li>
<li>Fix default value of enum(int) in json_util with proto2 (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8835">#8835</a>)</li>
<li>Better Smaller ByteSizeLong</li>
<li>Introduce event filters for inject_field_listener_events</li>
<li>Reduce memory usage of DescriptorPool</li>
<li>For lazy fields copy serialized form when allowed.</li>
<li>Re-introduce the InlinedStringField class</li>
<li>v2 access listener</li>
<li>Reduce padding in the proto's ExtensionRegistry map.</li>
<li>GetExtension performance optimizations</li>
<li>Make tracker a static variable rather than call static functions</li>
<li>Support extensions in field access listener</li>
<li>Annotate MergeFrom for field access listener</li>
<li>Fix incomplete types for field access listener</li>
<li>Add map_entry/new_map_entry to SpecificField in MessageDifferencer. They
record the map items which are different in MessageDifferencer's reporter.</li>
<li>Reduce binary size due to fieldless proto messages</li>
<li>TextFormat: ParseInfoTree supports getting field end location in addition to
start.</li>
<li>Fix repeated enum extension size in field listener</li>
<li>Enable Any Text Expansion for Descriptors::DebugString()</li>
<li>Switch from int{8,16,32,64} to int{8,16,32,64}_t</li>
</ul>
<h1>Java</h1>
<ul>
<li>Fix errorprone conflict (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8723">#8723</a>)</li>
<li>Removing deprecated TimeUtil class. (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8749">#8749</a>)</li>
<li>Optimized FieldDescriptor.valueOf() to avoid array copying.</li>
<li>Removing deprecated TimeUtil class.</li>
<li>Add Durations.parseUnchecked(String) and Timestamps.parseUnchecked(String)</li>
<li>FieldMaskUtil: Add convenience method to mask the fields out of a given proto.</li>
</ul>
<h1>JavaScript</h1>
<ul>
<li>Optimize binary parsing of repeated float64</li>
<li>Fix for optimization when reading doubles from binary wire format</li>
<li>Replace toArray implementation with toJSON.</li>
</ul>
<h1>PHP</h1>
<ul>
<li>Migrate PHP &amp; Ruby to ABSL wyhash (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8854">#8854</a>)</li>
<li>Added support for PHP 8.1 (currently in RC1) to the C extension (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8964">#8964</a>)</li>
<li>Fixed PHP SEGV when constructing messages from a destructor. (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8969">#8969</a>)</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="89b14b1d16"><code>89b14b1</code></a> Update change log (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8974">#8974</a>)</li>
<li><a href="12fb2b7450"><code>12fb2b7</code></a> Update protobuf version (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8973">#8973</a>)</li>
<li><a href="ac02d6cbaa"><code>ac02d6c</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8970">#8970</a> from haberman/ruby-repeated-plus-arena</li>
<li><a href="39dc8ad11f"><code>39dc8ad</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8969">#8969</a> from haberman/php-destructor2</li>
<li><a href="26e0ee8eec"><code>26e0ee8</code></a> Fixed multirequest.sh script for when nohup.out does not exist.</li>
<li><a href="66a3e1a670"><code>66a3e1a</code></a> Added missing file to EXTRA_DIST.</li>
<li><a href="79ac88bbbb"><code>79ac88b</code></a> Fixed a memory bug with RepeatedField#+.</li>
<li><a href="759a539736"><code>759a539</code></a> Fixed PHP SEGV when constructing messages from a destructor.</li>
<li><a href="605ab956e0"><code>605ab95</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8964">#8964</a> from haberman/php-8.1</li>
<li><a href="44df0abc02"><code>44df0ab</code></a> Added support for PHP 8.1 (currently in RC1).</li>
<li>Additional commits viewable in <a href="https://github.com/protocolbuffers/protobuf/compare/v3.17.3...v3.18.0">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=com.google.protobuf:protobuf-java&package-manager=gradle&previous-version=3.17.3&new-version=3.18.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

 ---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `dependabot rebase` will rebase this PR
- `dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `dependabot merge` will merge this PR after your CI passes on it
- `dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `dependabot cancel merge` will cancel a previously requested merge and block automerging
- `dependabot reopen` will reopen this PR if it is closed
- `dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

</details>

Pull Request resolved: https://github.com/facebook/flipper/pull/2886

Reviewed By: mweststrate

Differential Revision: D31203907

Pulled By: passy

fbshipit-source-id: 31a48863e5bbc82bbb11f76297e16594a44e1a8f
2021-09-27 05:43:26 -07:00

108 lines
4.7 KiB
Groovy

/*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.2.2'
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.17.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$KOTLIN_VERSION"
classpath "org.jetbrains.dokka:dokka-gradle-plugin:1.5.0"
}
}
plugins {
id 'de.undercouch.download' version '4.1.2'
id 'com.github.ben-manes.versions' version '0.39.0'
}
ext.isSnapshot = { VERSION_NAME.endsWith('-SNAPSHOT') }
ext.isRelease = { ['publish', 'publishToMavenLocal'].any { gradle.startParameter.taskNames.contains(it) } }
subprojects {
repositories {
google()
mavenLocal()
mavenCentral()
jcenter()
if (isSnapshot()) {
maven { url 'https://oss.sonatype.org/content/repositories/snapshots/' }
}
}
// We don't build Javadoc at this time.
tasks.withType(Javadoc).all {
enabled = false
}
}
ext {
minSdkVersion = 15
targetSdkVersion = 30
compileSdkVersion = 30
buildToolsVersion = '30.0.2'
ndkVersion = '23.0.7599858'
}
ext.deps = [
// Android support
supportAnnotations : "androidx.annotation:annotation:$ANDROIDX_VERSION",
supportAppCompat : "androidx.appcompat:appcompat:$ANDROIDX_VERSION",
supportCoreUi : "androidx.legacy:legacy-support-core-ui:$ANDROIDX_VERSION",
supportRecyclerView: "androidx.recyclerview:recyclerview:$ANDROIDX_VERSION",
supportConstraintLayout: "androidx.constraintlayout:constraintlayout:2.1.0",
supportSqlite : "androidx.sqlite:sqlite-framework:2.1.0",
supportEspresso : 'androidx.test.espresso:espresso-core:3.4.0',
supportEspressoIntents : 'androidx.test.espresso:espresso-intents:3.4.0',
supportTestRunner : 'androidx.test:runner:1.4.0',
// Arch
archPaging : 'android.arch.paging:runtime:1.0.1',
// First-party
soloader : 'com.facebook.soloader:soloader:0.10.1',
fbjni : 'com.facebook.fbjni:fbjni:0.2.2',
screenshot : 'com.facebook.testing.screenshot:core:0.14.0',
boltsTasks : 'com.parse.bolts:bolts-tasks:1.4.0',
// Annotations
jsr305 : 'com.google.code.findbugs:jsr305:3.0.2',
inferAnnotations : 'com.facebook.infer.annotation:infer-annotation:0.18.0',
proguardAnnotations: 'com.facebook.yoga:proguard-annotations:1.19.0',
// Litho
lithoAnnotations : "com.facebook.litho:litho-annotations:$LITHO_VERSION",
lithoCore : "com.facebook.litho:litho-core:$LITHO_VERSION",
lithoEditorCore : "com.facebook.litho:litho-editor-core:$LITHO_VERSION",
lithoEditorFlipper : "com.facebook.litho:litho-editor-flipper:$LITHO_VERSION",
lithoSectionsAnnotations: "com.facebook.litho:litho-sections-annotations:$LITHO_VERSION",
lithoSectionsDebug : "com.facebook.litho:litho-sections-debug:$LITHO_VERSION",
lithoSectionsCore : "com.facebook.litho:litho-sections-core:$LITHO_VERSION",
lithoSectionsWidget : "com.facebook.litho:litho-sections-widget:$LITHO_VERSION",
lithoWidget : "com.facebook.litho:litho-widget:$LITHO_VERSION",
lithoProcessor : "com.facebook.litho:litho-processor:$LITHO_VERSION",
lithoSectionsProcessor: "com.facebook.litho:litho-sections-processor:$LITHO_VERSION",
lithoFresco : "com.facebook.litho:litho-fresco:$LITHO_VERSION",
lithoTesting : "com.facebook.litho:litho-testing:$LITHO_VERSION",
// Debugging and testing
guava : 'com.google.guava:guava:23.0',
robolectric : 'org.robolectric:robolectric:4.5.1',
junit : 'junit:junit:4.13.2',
hamcrest : 'org.hamcrest:hamcrest-library:2.2',
mockito : 'org.mockito:mockito-core:3.12.4',
okhttp3 : 'com.squareup.okhttp3:okhttp:4.9.1',
leakcanary : 'com.squareup.leakcanary:leakcanary-android:1.6.3',
leakcanary2 : 'com.squareup.leakcanary:leakcanary-android:2.6',
protobuf : 'com.google.protobuf:protobuf-java:3.18.0',
testCore : 'androidx.test:core:1.4.0',
testRules : 'androidx.test:rules:1.4.0',
// Plugin dependencies
frescoFlipper : 'com.facebook.fresco:flipper:2.5.0',
frescoStetho : 'com.facebook.fresco:stetho:2.5.0',
fresco : 'com.facebook.fresco:fresco:2.5.0'
]