Summary: Bumps [robolectric](https://github.com/robolectric/robolectric) from 4.4 to 4.5.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/robolectric/robolectric/releases">robolectric's releases</a>.</em></p> <blockquote> <h2>Robolectric 4.5.1</h2> <p>This is a minor release that fixes a regression in 4.5 and removes some superfluous print statements. See <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6187">robolectric/robolectric#6187</a> and <a href="https://github-redirect.dependabot.com/robolectric/robolectric/pull/6177">robolectric/robolectric#6177</a> respectively for more details.</p> <p>Robolectric 4.5 adds support for Android API 30 (R final) and contains many bug fixes and other enhancements.</p> <p>More detailed release notes are forthcoming.</p> <p>For all changes view the <a href="https://github.com/robolectric/robolectric/compare/robolectric-4.4...robolectric-4.5">comparison to 4.4</a>.</p> <h2>Use Robolectric:</h2> <pre lang="groovy"><code>testCompile "org.robolectric:robolectric:4.5" </code></pre> <h2>Robolectric 4.5 Beta 1</h2> <p><em><strong>NOTE</strong>: Robolectric 4.5-beta-1 is a outdated preview release; please use <a href="https://github.com/robolectric/robolectric/releases/tag/robolectric-4.5">4.5</a> or later instead.</em></p> <h2>Robolectric 4.5 Alpha 3</h2> <p><em><strong>NOTE</strong>: Robolectric 4.5-alpha-3 is a outdated preview release; please use <a href="https://github.com/robolectric/robolectric/releases/tag/robolectric-4.5">4.5</a> or later instead.</em></p> <h2>Robolectric 4.5 Alpha 2</h2> <p><em><strong>NOTE</strong>: Robolectric 4.5-alpha-2 is a outdated preview release; please use <a href="https://github.com/robolectric/robolectric/releases/tag/robolectric-4.5">4.5</a> or later instead.</em></p> <h2>Robolectric 4.5 Alpha 1</h2> <p><em><strong>NOTE</strong>: Robolectric 4.5-alpha-1 is a outdated preview release; please use <a href="https://github.com/robolectric/robolectric/releases/tag/robolectric-4.5">4.5</a> or later instead.</em></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="11c4ab6dd9"><code>11c4ab6</code></a> Bump version to 4.5.1.</li> <li><a href="1414736c5a"><code>1414736</code></a> Remove debug print statements from Cleaner AndroidInterceptor</li> <li><a href="d0ee5bdae8"><code>d0ee5bd</code></a> Fix deleting temp directories</li> <li><a href="27511fdefa"><code>27511fd</code></a> Bump version to 4.5.</li> <li><a href="b41d135857"><code>b41d135</code></a> Tweak ShadowTextToSpeech OnInitListener API</li> <li><a href="ee98674239"><code>ee98674</code></a> Bump version to 4.5-beta-1.</li> <li><a href="b3bd4a22e1"><code>b3bd4a2</code></a> Fix grammar in comment in ShadowTextToSpeech</li> <li><a href="e0e1b5e979"><code>e0e1b5e</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/robolectric/robolectric/issues/6161">#6161</a> from robolectric/piper_351860731</li> <li><a href="a3d94c2c8a"><code>a3d94c2</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/robolectric/robolectric/issues/6144">#6144</a> from robolectric/piper_350815564</li> <li><a href="69a7550fee"><code>69a7550</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/robolectric/robolectric/issues/6159">#6159</a> from robolectric/piper_351705328</li> <li>Additional commits viewable in <a href="https://github.com/robolectric/robolectric/compare/robolectric-4.4...robolectric-4.5.1">compare view</a></li> </ul> </details> <br /> [](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/2038 Reviewed By: nikoant Differential Revision: D26949460 Pulled By: passy fbshipit-source-id: a31f797544b938fd2785fb0e8430303bdf591755
112 lines
5.0 KiB
Groovy
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.1.2'
|
|
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.14.2'
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$KOTLIN_VERSION"
|
|
classpath "org.jetbrains.dokka:dokka-gradle-plugin:1.4.20"
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
id 'de.undercouch.download' version '4.1.1'
|
|
id 'com.github.dcendents.android-maven' version '2.1'
|
|
id 'com.github.ben-manes.versions' version '0.28.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.1.0',
|
|
supportTestRunner : 'androidx.test:runner:1.3.0',
|
|
// Arch
|
|
archPaging : 'android.arch.paging:runtime:1.0.0',
|
|
// First-party
|
|
soloader : 'com.facebook.soloader:soloader:0.10.1',
|
|
fbjni : 'com.facebook.fbjni:fbjni:0.2.0',
|
|
screenshot : 'com.facebook.testing.screenshot:core:0.5.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.11.2',
|
|
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:2.26.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',
|
|
testCore : 'androidx.test:core:1.1.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.2.0'
|
|
]
|