Summary: Bumps [constraintlayout](https://github.com/androidx/constraintlayout) from 2.0.4 to 2.1.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/androidx/constraintlayout/releases">constraintlayout's releases</a>.</em></p> <blockquote> <h2>2.1.0</h2> <p>No release notes provided.</p> <h2>2.1.0-rc01</h2> <p>No release notes provided.</p> <h2>2.1.0-beta02</h2> <p>MotionLayout</p> <p>A few new features:</p> <ul> <li>OnSwipe enhancement including spring (stiffness, damping, mass etc) & never complete</li> <li>jumpToState function</li> <li>ViewTransition downUp mode where on touch Down it plays to 100 and on up reverses to 0</li> </ul> <p>Various fixes, notably:</p> <p>Fix problem in MotionLayout with vertical scroll (<a href="https://github-redirect.dependabot.com/androidx/constraintlayout/issues/173">https://github.com/facebook/flipper/issues/173</a>) Perf improvements on nested MotionLayout (<a href="https://github-redirect.dependabot.com/androidx/constraintlayout/issues/189">https://github.com/facebook/flipper/issues/189</a>) Fast transition with NestedScrollView in MotionLayout (<a href="https://github-redirect.dependabot.com/androidx/constraintlayout/issues/189">https://github.com/facebook/flipper/issues/189</a>) ConstraintSet gone in MotionLayout (<a href="https://github-redirect.dependabot.com/androidx/constraintlayout/issues/189">https://github.com/facebook/flipper/issues/189</a>) Support downUp ViewTransitions in MotionLayout (<a href="https://github-redirect.dependabot.com/androidx/constraintlayout/issues/190">https://github.com/facebook/flipper/issues/190</a>) Fix in ImageFilter when reusing drawables (<a href="https://github-redirect.dependabot.com/androidx/constraintlayout/issues/192">https://github.com/facebook/flipper/issues/192</a>) Add spring support in MotionLayout (<a href="https://github-redirect.dependabot.com/androidx/constraintlayout/issues/199">https://github.com/facebook/flipper/issues/199</a>) Performance improvement to CircularFlow (<a href="https://github-redirect.dependabot.com/androidx/constraintlayout/issues/200">https://github.com/facebook/flipper/issues/200</a>) Fixes in derived constraints / constraint override (<a href="https://github-redirect.dependabot.com/androidx/constraintlayout/issues/212">https://github.com/facebook/flipper/issues/212</a>)</p> <h2>2.1.0-beta01</h2> <h1>ConstraintLayout</h1> <ul> <li>android:layout_width and android:layout_height are back being non-optional due to compatibility issues.</li> </ul> <h1>Helpers</h1> <ul> <li>added a way to animate or jump directly to a given item of a Carousel</li> <li>new CircularFlow helper</li> </ul> <h1>MotionLayout</h1> <ul> <li>Programmatic support for inserting and removing onSwipe and onClick on Transitions</li> <li>Experimental Support for Transitions through screen rotation</li> <li>support duration argument to transitions</li> <li>Better support for customAttributes that are boolean or References</li> </ul> <h2>2.1.0 alpha 2</h2> <p>Many new features added in alpha 2, see the wiki</p> <h2>2.1.0 alpha 1</h2> <p>New features in MotionLayout (view transition etc) and new Carousel helper</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="343db8d806"><code>343db8d</code></a> bump constraintlayout-compose to 1.0 beta 2</li> <li><a href="d10b5b3167"><code>d10b5b3</code></a> bump version number of compose to 1.0 \o/</li> <li><a href="a60d9868c2"><code>a60d986</code></a> Update README.md</li> <li><a href="115f9f6802"><code>115f9f6</code></a> Merge branch 'main' of <a href="https://github.com/androidx/constraintlayout">https://github.com/androidx/constraintlayout</a> into main</li> <li><a href="a9af02fb2b"><code>a9af02f</code></a> bump to 2.1.0</li> <li><a href="ad6cd328d4"><code>ad6cd32</code></a> Move basic transitions on single constraintset to ConstraintLayout instead of...</li> <li><a href="d7e308ff75"><code>d7e308f</code></a> Add a MotionLayout that animates between changing constraint sets (<a href="https://github-redirect.dependabot.com/androidx/constraintlayout/issues/359">https://github.com/facebook/flipper/issues/359</a>)</li> <li><a href="4880da5605"><code>4880da5</code></a> Fix in json parser (<a href="https://github-redirect.dependabot.com/androidx/constraintlayout/issues/358">https://github.com/facebook/flipper/issues/358</a>)</li> <li><a href="85991a3c51"><code>85991a3</code></a> viewTransition Example (<a href="https://github-redirect.dependabot.com/androidx/constraintlayout/issues/357">https://github.com/facebook/flipper/issues/357</a>)</li> <li><a href="9fb9da89a6"><code>9fb9da8</code></a> Fix build of tools library (<a href="https://github-redirect.dependabot.com/androidx/constraintlayout/issues/355">https://github.com/facebook/flipper/issues/355</a>)</li> <li>Additional commits viewable in <a href="https://github.com/androidx/constraintlayout/compare/2.0.4...2.1.0">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/2656 Reviewed By: mweststrate Differential Revision: D30162301 Pulled By: passy fbshipit-source-id: 5ca76c7e205f564973b55d1a1f2b1b27a4b4c3e1
108 lines
4.7 KiB
Groovy
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.1'
|
|
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 = '21.3.6528147'
|
|
}
|
|
|
|
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.11.2',
|
|
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.17.3',
|
|
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'
|
|
]
|