Files
flipper/build.gradle
dependabot[bot] e6f68a9fce Bump protobuf-java from 3.15.8 to 3.16.0 (#2294)
Summary:
Bumps [protobuf-java](https://github.com/protocolbuffers/protobuf) from 3.15.8 to 3.16.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.16.0</h2>
<h1>C++</h1>
<ul>
<li>Fix compiler warnings issue found in conformance_test_runner <a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8189">#8189</a> (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8190">#8190</a>)</li>
<li>Fix MinGW-w64 build issues. (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8286">#8286</a>)</li>
<li>[Protoc] C++ Resolved an issue where NO_DESTROY and CONSTINIT are in incorrect order (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8296">#8296</a>)</li>
<li>Fix PROTOBUF_CONSTINIT macro redefinition (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8323">#8323</a>)</li>
<li>Delete StringPiecePod (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8353">#8353</a>)</li>
<li>Fix gcc error: comparison of unsigned expression in '&gt;= 0' is always … (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8309">#8309</a>)</li>
<li>Fix cmake install on iOS (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8301">#8301</a>)</li>
<li>Create a CMake option to control whether or not RTTI is enabled (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8347">#8347</a>)</li>
<li>Fix endian.h location on FreeBSD (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8351">#8351</a>)</li>
<li>Refactor util::Status (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8354">#8354</a>)</li>
<li>Make util::Status more similar to absl::Status (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8405">#8405</a>)</li>
<li>Fix -Wsuggest-destructor-override for generated C++ proto classes. (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8408">#8408</a>)</li>
<li>Refactor StatusOr and StringPiece (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8406">#8406</a>)</li>
<li>Refactor uint128 (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8416">#8416</a>)</li>
<li>The ::pb namespace is no longer exposed due to conflicts.</li>
<li>Allow MessageDifferencer::TreatAsSet() (and friends) to override previous
calls instead of crashing.</li>
<li>Reduce the size of generated proto headers for protos with <code>string</code> or
<code>bytes</code> fields.</li>
<li>Move arena() operation on uncommon path to out-of-line routine</li>
<li>For iterator-pair function parameter types, take both iterators by value.</li>
<li>Code-space savings and perhaps some modest performance improvements in
RepeatedPtrField.</li>
<li>Eliminate nullptr check from every tag parse.</li>
<li>Remove unused _$name$<em>cached_byte_size</em> fields.</li>
<li>Serialize extension ranges together when not broken by a proto field in the
middle.</li>
<li>Do out-of-line allocation and deallocation of string object in ArenaString.</li>
<li>Streamline ParseContext::ParseMessage<!-- raw HTML omitted --> to avoid code bloat and improve
performance.</li>
<li>New member functions RepeatedField::Assign, RepeatedPtrField::{Add, Assign}.</li>
<li>Fix undefined behavior warning due to innocuous uninitialization of value
on an error path.</li>
<li>Avoid expensive inlined code space for encoding message length for messages
<blockquote>
<p>= 128 bytes and instead do a procedure call to a shared out-of-line routine.</p>
</blockquote>
</li>
<li>util::DefaultFieldComparator will be final in a future version of protobuf.
Subclasses should inherit from SimpleFieldComparator instead.</li>
</ul>
<h1>C#</h1>
<ul>
<li>Add .NET 5 target and improve WriteString performance with SIMD (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8147">#8147</a>)</li>
</ul>
<h1>Java</h1>
<ul>
<li>deps: update JUnit and Truth (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8319">#8319</a>)</li>
<li>Detect invalid overflow of byteLimit and return InvalidProtocolBufferException as documented.</li>
<li>Exceptions thrown while reading from an InputStream in parseFrom are now
included as causes.</li>
<li>Support potentially more efficient proto parsing from RopeByteStrings.</li>
<li>Clarify runtime of ByteString.Output.toStringBuffer().</li>
</ul>

</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="2dc747c574"><code>2dc747c</code></a> Update PHP release notes and update version to 3.16.0 (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8573">#8573</a>)</li>
<li><a href="debc03dfc5"><code>debc03d</code></a> Update protobuf version to 3.16.0-rc2 (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8556">#8556</a>)</li>
<li><a href="17b0fb9149"><code>17b0fb9</code></a> Make update_version.py compatible with Python 3 (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8555">#8555</a>)</li>
<li><a href="4aa425c6c5"><code>4aa425c</code></a> Cherry-pick <a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8356">#8356</a> into 3.16.x (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8518">#8518</a>)</li>
<li><a href="e8b78f8208"><code>e8b78f8</code></a> Fixed memory leak of Ruby arena objects. (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8465">#8465</a>)</li>
<li><a href="7689f00ba8"><code>7689f00</code></a> Update protobuf version (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8448">#8448</a>)</li>
<li><a href="6099c6505d"><code>6099c65</code></a> Updated CHANGES.txt for 3.16.0 (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8456">#8456</a>)</li>
<li><a href="c9343864a2"><code>c934386</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8447">#8447</a> from acozzette/merge-3-15-x</li>
<li><a href="600799912a"><code>6007999</code></a> Revert &quot;[C++] Refactor uint128 (<a href="https://github-redirect.dependabot.com/protocolbuffers/protobuf/issues/8416">#8416</a>)&quot;</li>
<li><a href="87aa9adb86"><code>87aa9ad</code></a> Merge branch 'master' into 3.15.x</li>
<li>Additional commits viewable in <a href="https://github.com/protocolbuffers/protobuf/compare/v3.15.8...v3.16.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.15.8&new-version=3.16.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/2294

Reviewed By: mweststrate

Differential Revision: D28323900

Pulled By: cekkaewnumchai

fbshipit-source-id: cdc69a052fb303d46c29d68bf9137aa4ba28f428
2021-05-12 07:49:14 -07:00

112 lines
5.0 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.0'
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.15.1'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$KOTLIN_VERSION"
classpath "org.jetbrains.dokka:dokka-gradle-plugin:1.4.32"
}
}
plugins {
id 'de.undercouch.download' version '4.1.1'
id 'com.github.ben-manes.versions' version '0.38.0'
}
ext.isSnapshot = { VERSION_NAME.endsWith('-SNAPSHOT') }
ext.isRelease = { ['uploadArchives', 'bintrayUpload'].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 = 29
compileSdkVersion = 29
buildToolsVersion = '29.0.2'
ndkVersion = '21.3.6528147'
sourceCompatibilityVersion = JavaVersion.VERSION_1_7
targetCompatibilityVersion = JavaVersion.VERSION_1_7
}
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.0.4",
supportSqlite : "androidx.sqlite:sqlite-framework:2.1.0",
supportEspresso : 'androidx.test.espresso:espresso-core:3.3.0',
supportDesign : "com.google.android.material:material:1.0.0-rc01",
supportEspressoIntents : 'androidx.test.espresso:espresso-intents:3.3.0',
supportTestRunner : 'androidx.test:runner:1.3.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',
boltsApplinks : 'com.parse.bolts:bolts-applinks: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.16.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.9.0',
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.16.0',
testCore : 'androidx.test:core:1.3.0',
testRules : 'androidx.test:rules:1.3.0',
// Plugin dependencies
frescoFlipper : 'com.facebook.fresco:flipper:2.4.0',
frescoStetho : 'com.facebook.fresco:stetho:2.4.0',
fresco : 'com.facebook.fresco:fresco:2.3.0'
]