Files
flipper/build.gradle
dependabot[bot] ea92388b09 Bump robolectric from 4.9 to 4.9.2 (#4473)
Summary:
Bumps [robolectric](https://github.com/robolectric/robolectric) from 4.9 to 4.9.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/robolectric/robolectric/releases">robolectric's releases</a>.</em></p>
<blockquote>
<p>Robolectric 4.9.2 is a minor release that primarily fixes <a href="https://github-redirect.dependabot.com/robolectric/robolectric/issues/7879">robolectric/robolectric#7879</a>, which was an issue using native SQLite with older Linux machines.</p>
<p>It also includes:</p>
<ul>
<li>A fix for ShadowSpeechRecognizer in SDK &lt;= 28 (0df34bf0cb5423afb64d7f4340c95e741ba26aa6, thanks <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a>)</li>
<li>Some fixes for instrumenting Jacoco-instrumented classes (7534d628fd69caab623b1ed31bf2096fd3c914db and 4e6047d88f7e8d9c83b13842a0d584d7eccd068a). Note there are still known issues with running Robolectric instrumentation on Jacoco-instrumented classes which should hopefully be fixed in 4.10.</li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/robolectric/robolectric/compare/robolectric-4.9.1...robolectric-4.9.2">https://github.com/robolectric/robolectric/compare/robolectric-4.9.1...robolectric-4.9.2</a></p>
<p>Robolectric 4.9.1 is a minor release that fixes several issues:</p>
<ul>
<li>Fixes sdk levels in ShadowAppOpsManager (50e2cfa4294c5dcfb7127f51f355a366f947c89a, thanks <a href="https://github.com/paulsowden"><code>@​paulsowden</code></a>)</li>
<li>Fixes an issue loading the native runtime on concurrent threads (0b4e996c27b85f05f7f52f75bc9d5109be7ef767)</li>
<li>Fixes some uses of LineBreaker and StaticLayout in Compose (ed2d7d3d600972090de29bcf9ad37d65a4d7ef47, thanks <a href="https://github.com/samliu000"><code>@​samliu000</code></a>)</li>
<li>Added proxy settings for fetching artifacts (bed3ca5a4ea314f730a9d58331b0099ca4c0abeb, thanks <a href="https://github.com/sebastienrussell"><code>@​sebastienrussell</code></a>)</li>
<li>Avoid referring to Android S TelephonyCallback (d43ae9ad7b74512dbf89518247769ca5c2c4128c, thanks <a href="https://github.com/styluo"><code>@​styluo</code></a>)</li>
<li>Fix data race in ShadowPausedLooper (cb231c8c133b6f2ed4e46148d1a4f551fdd52dd2)</li>
<li>Add shadow for LocaleManager#getSystemLocales (24d49f41227c35e0e3ce8564e404a39481c312e6, thanks <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a>)</li>
<li>Use uninterruptibly acquire for ResTable's lock (a221f6829110fd40b124527bde5317123f1737d9, thanks <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a>)</li>
<li>Update androidx.test dependencies to latest stable releases (0bdf89b884ac7c50c0e4d7a2b2fff848d795bf16, thanks <a href="https://github.com/utzcoz"><code>@​utzcoz</code></a>)</li>
<li>Support zip files where EOCD's offset to central dir is -1 (9b36bc6b013db9e9eef5c509b2471cc8b0a7395a)</li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/robolectric/robolectric/compare/robolectric-4.9...robolectric-4.9.1">https://github.com/robolectric/robolectric/compare/robolectric-4.9...robolectric-4.9.1</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="fb2d148d06"><code>fb2d148</code></a> Bump version to 4.9.2.</li>
<li><a href="0df34bf0cb"><code>0df34bf</code></a> Ensure ShadowSpeechRecognizer can work with SDK 28</li>
<li><a href="4e6047d88f"><code>4e6047d</code></a> Change where addCallToRoboInit() inserts call to $$robo$init</li>
<li><a href="7534d628fd"><code>7534d62</code></a> Add call to $$robo$init for Jacoco-instrumented constructors</li>
<li><a href="81dda2fd27"><code>81dda2f</code></a> Enable CI when commits are pushed to release branches</li>
<li><a href="53c4498793"><code>53c4498</code></a> Bump version to 4.9.1.</li>
<li><a href="9b36bc6b01"><code>9b36bc6</code></a> Support zip files where EOCD's offset to central dir is -1</li>
<li><a href="73b8c53738"><code>73b8c53</code></a> Bump errorproneVersion from 2.9.0 to 2.16</li>
<li><a href="0bdf89b884"><code>0bdf89b</code></a> Update to androidx.test 11.04.2022 stable release</li>
<li><a href="c718f94f70"><code>c718f94</code></a> Update to androidx.test 10.26.2022 RC release</li>
<li>Additional commits viewable in <a href="https://github.com/robolectric/robolectric/compare/robolectric-4.9...robolectric-4.9.2">compare view</a></li>
</ul>
</details>
<br />

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=org.robolectric:robolectric&package-manager=gradle&previous-version=4.9&new-version=4.9.2)](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/4473

Reviewed By: ivanmisuno

Differential Revision: D44414596

Pulled By: passy

fbshipit-source-id: 833adbc899fb86e4c6a80a1444d5d9adebb1686b
2023-03-27 03:47:54 -07:00

116 lines
5.4 KiB
Groovy

/*
* Copyright (c) Meta Platforms, Inc. and 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:7.4.0'
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.24.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$KOTLIN_VERSION"
classpath "org.jetbrains.dokka:dokka-gradle-plugin:1.8.10"
classpath "org.jetbrains.kotlin:kotlin-serialization:$KOTLIN_VERSION"
}
}
plugins {
id 'de.undercouch.download' version '5.3.1'
id 'com.github.ben-manes.versions' version '0.46.0'
}
ext.isSnapshot = { VERSION_NAME.endsWith('-SNAPSHOT') }
ext.isRelease = { ['publish', 'publishToMavenLocal'].any { gradle.startParameter.taskNames.contains(it) } }
subprojects {
repositories {
google()
mavenLocal()
mavenCentral()
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 = 31
compileSdkVersion = 31
buildToolsVersion = "30.0.3"
ndkVersion = "$NDK_VERSION"
}
ext.deps = [
// Kotlin support
kotlinStdLibrary : "org.jetbrains.kotlin:kotlin-stdlib:$KOTLIN_VERSION",
kotlinCoroutinesAndroid : "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4",
// 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.4",
supportSqlite : "androidx.sqlite:sqlite-framework:2.2.0",
supportEspresso : 'androidx.test.espresso:espresso-core:3.5.1',
supportEspressoIntents : 'androidx.test.espresso:espresso-intents:3.5.1',
supportTestRunner : 'androidx.test:runner:1.5.2',
// Arch
archPaging : 'android.arch.paging:runtime:1.0.1',
// First-party
soloader : "com.facebook.soloader:soloader:$SOLOADER_VERSION",
fbjni : "com.facebook.fbjni:fbjni:$FBJNI_VERSION",
screenshot : 'com.facebook.testing.screenshot:core:0.15.0',
boltsTasks : 'com.parse.bolts:bolts-tasks:1.4.0',
// Third-party
websocket : 'org.java-websocket:Java-WebSocket:1.5.3',
openssl : 'com.android.ndk.thirdparty:openssl:1.1.1l-beta-1',
// Annotations
kotlinxSerializationJson : "org.jetbrains.kotlinx:kotlinx-serialization-json:1.4.1",
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.9.2',
junit : 'junit:junit:4.13.2',
hamcrest : 'org.hamcrest:hamcrest-library:2.2',
mockito : 'org.mockito:mockito-core:5.2.0',
okhttp3 : 'com.squareup.okhttp3:okhttp:4.9.3',
leakcanary : 'com.squareup.leakcanary:leakcanary-android:1.6.3',
leakcanary2 : 'com.squareup.leakcanary:leakcanary-android:2.8.1',
protobuf : 'com.google.protobuf:protobuf-java:3.21.12',
testCore : 'androidx.test:core:1.4.0',
testRules : 'androidx.test:rules:1.5.0',
// Plugin dependencies
flipperFrescoPlugin: 'com.facebook.flipper:flipper-fresco-plugin:0.182.0',
frescoFlipper : 'com.facebook.fresco:flipper:2.6.0',
frescoStetho : 'com.facebook.fresco:stetho:2.6.0',
fresco : 'com.facebook.fresco:fresco:2.6.0',
]