Summary: Bumps [dokka-gradle-plugin](https://github.com/Kotlin/dokka) from 1.6.21 to 1.7.10. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/Kotlin/dokka/releases">dokka-gradle-plugin's releases</a>.</em></p> <blockquote> <h2>1.7.10 Beta</h2> <p>Bugfix release that addresses several blockers and regressions.</p> <h3>General</h3> <ul> <li>Support <code>Kotlin</code> 1.7.10</li> </ul> <h3>Gradle plugin</h3> <ul> <li>Do not expose <code>Kotlin</code> stdlib in plugin dependencies, this should fix errors like <code>Module was compiled with an incompatible version of Kotlin</code> when using <code>Dokka</code>. Thanks to <a href="https://github.com/martinbonnin"><code>@martinbonnin</code></a> (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2543">https://github.com/facebook/flipper/issues/2543</a>)</li> </ul> <h3>Java sources</h3> <ul> <li>Fixed build failure caused by having configured source links for <code>Java</code> code (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2544">https://github.com/facebook/flipper/issues/2544</a>)</li> <li>Fixed several exotic problems that led to build failures, all related to using annotation in <code>Java</code> sources (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2509">https://github.com/facebook/flipper/issues/2509</a>, <a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2551">https://github.com/facebook/flipper/issues/2551</a>, <a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2350">https://github.com/facebook/flipper/issues/2350</a>)</li> <li>Fixed <code>IntelliJ</code> platform <code>WARN: Attempt to load key</code> messages that appeared when analyzing <code>Java</code> sources (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2559">https://github.com/facebook/flipper/issues/2559</a>)</li> </ul> <h2>1.7.0 Beta</h2> <h2>Improvements</h2> <h3>General</h3> <ul> <li>Update to <code>Kotlin</code> 1.7.0, <code>IntelliJ</code> Platform 213</li> <li>Support <a href="https://kotlinlang.org/docs/whatsnew17.html#stable-definitely-non-nullable-types">definitely non-nullable types</a> (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2520">Kotlin/dokka#2520</a>)</li> <li>Don't expose enum entry constructor arguments, thanks to <a href="https://github.com/ebraminio"><code>@ebraminio</code></a> (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2497">Kotlin/dokka#2497</a>)</li> <li>Preserve ordering of enum entries as in source code, previously reversed (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2469">Kotlin/dokka#2469</a>)</li> <li>Improve support for inherited <code>Java</code> fields with accessors, now properly interpreted as <code>val</code>/<code>var</code> properties (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2481">Kotlin/dokka#2481</a>, <a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2532">Kotlin/dokka#2532</a>, <a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2540">Kotlin/dokka#2540</a>)</li> <li>Skip <code>Deprecated</code> members with <code>HIDDEN</code> level (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2486">Kotlin/dokka#2486</a>)</li> <li>Make rendered default value dependent on source set for expect/actual declarations (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2449">Kotlin/dokka#2449</a>)</li> </ul> <h3>HTML format</h3> <ul> <li>Render quotes as blockquotes instead of code blocks, thanks to <a href="https://github.com/TheOnlyTails"><code>@TheOnlyTails</code></a> (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2496">Kotlin/dokka#2496</a>)</li> </ul> <h3>Javadoc format</h3> <ul> <li>Make <code>Javadoc</code> pages generation deterministic (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2479">Kotlin/dokka#2479</a>)</li> <li>Update shipped <code>jQuery</code> to avoid multiple CVEs, thanks to <a href="https://github.com/ToppleTheNun"><code>@ToppleTheNun</code></a> (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/1938">Kotlin/dokka#1938</a>)</li> </ul> <h3>GFM format</h3> <ul> <li>Support rendering of code blocks and inline code used in KDocs, thanks to <a href="https://github.com/cosinekitty"><code>@cosinekitty</code></a> (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2485">Kotlin/dokka#2485</a>)</li> </ul> <h3>Kotlin-as-Java plugin</h3> <ul> <li>Include <code>Java</code> access modifiers into function signatures, thanks to <a href="https://github.com/tripolkaandrey"><code>@tripolkaandrey</code></a> (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2510">Kotlin/dokka#2510</a>)</li> </ul> <h3>Gradle runner</h3> <ul> <li>Make <code>dokka-analysis</code> dependency <code>compileOnly</code>, this should help avoid compatibility problems if different versions of <code>Kotlin</code> are bundled in <code>Gradle</code> and <code>Dokka</code> (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2521">Kotlin/dokka#2521</a>)</li> <li>Enable stricter validation for cacheable <code>Gradle</code> tasks, thanks to <a href="https://github.com/3flex"><code>@3flex</code></a> (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2500">Kotlin/dokka#2500</a>)</li> <li>Remove unused & redundant dependencies for <code>Gradle</code> runner, thanks to <a href="https://github.com/3flex"><code>@3flex</code></a> (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2502">Kotlin/dokka#2502</a>)</li> <li>Remove outdated suppression in <code>Gradle</code> runner, thanks to <a href="https://github.com/3flex"><code>@3flex</code></a> (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/pull/2501">Kotlin/dokka#2501</a>)</li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="cfa433f59b"><code>cfa433f</code></a> Update references and documentation to Dokka 1.7.10 (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2567">https://github.com/facebook/flipper/issues/2567</a>)</li> <li><a href="5633f27b55"><code>5633f27</code></a> Ignore messages emitted by the IntelliJ Logger (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2563">https://github.com/facebook/flipper/issues/2563</a>)</li> <li><a href="b6ba965288"><code>b6ba965</code></a> Update Kotlin to 1.7.10 (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2564">https://github.com/facebook/flipper/issues/2564</a>)</li> <li><a href="fa175bdd95"><code>fa175bd</code></a> Improve handling of Java annotation parameters (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2562">https://github.com/facebook/flipper/issues/2562</a>)</li> <li><a href="6490083c03"><code>6490083</code></a> Do not generate source links for synthetic elements (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2547">https://github.com/facebook/flipper/issues/2547</a>)</li> <li><a href="e1e114b2c8"><code>e1e114b</code></a> Do not expose kotlin stdlib in the Gradle plugin dependencies (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2543">https://github.com/facebook/flipper/issues/2543</a>)</li> <li><a href="abd963b71f"><code>abd963b</code></a> Update documentation and examples to Dokka 1.7.0 (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2542">https://github.com/facebook/flipper/issues/2542</a>)</li> <li><a href="5e770efe41"><code>5e770ef</code></a> Update Dokka version to release</li> <li><a href="89fc2494b4"><code>89fc249</code></a> Fix incorrectly labeling java properties as val/var (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2540">https://github.com/facebook/flipper/issues/2540</a>)</li> <li><a href="a11a8dd92f"><code>a11a8dd</code></a> Dont escape text inside gfm code blocks (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2541">https://github.com/facebook/flipper/issues/2541</a>)</li> <li>Additional commits viewable in <a href="https://github.com/Kotlin/dokka/compare/v1.6.21...v1.7.10">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/3916 Reviewed By: lblasa Differential Revision: D38833324 Pulled By: passy fbshipit-source-id: 63b26b3bf08077d4616da0c017f20d26b28643fa
112 lines
5.0 KiB
Groovy
112 lines
5.0 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.0.4'
|
|
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.20.0'
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$KOTLIN_VERSION"
|
|
classpath "org.jetbrains.dokka:dokka-gradle-plugin:1.7.10"
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
id 'de.undercouch.download' version '5.1.1'
|
|
id 'com.github.ben-manes.versions' version '0.42.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 = '23.0.7599858'
|
|
}
|
|
|
|
ext.deps = [
|
|
// Kotlin support
|
|
kotlinStdLibrary : "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$KOTLIN_VERSION",
|
|
// 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.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.4',
|
|
fbjni : 'com.facebook.fbjni:fbjni:0.3.0',
|
|
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
|
|
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.8.1',
|
|
junit : 'junit:junit:4.13.2',
|
|
hamcrest : 'org.hamcrest:hamcrest-library:2.2',
|
|
mockito : 'org.mockito:mockito-core:4.7.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.5',
|
|
testCore : 'androidx.test:core:1.4.0',
|
|
testRules : 'androidx.test:rules:1.4.0',
|
|
// Plugin dependencies
|
|
frescoFlipper : 'com.facebook.fresco:flipper:2.6.0',
|
|
frescoStetho : 'com.facebook.fresco:stetho:2.6.0',
|
|
fresco : 'com.facebook.fresco:fresco:2.6.0'
|
|
]
|