Summary: Bumps [dokka-gradle-plugin](https://github.com/Kotlin/dokka) from 1.7.10 to 1.7.20. <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.20 Beta</h2> <p>This release focuses primarily on improving user experience and HTML format in particular.</p> <h2>Improvements</h2> <h3>General</h3> <ul> <li>Display inherited extensions (can be disabled by setting <code>suppressInheritedMembers</code> configuration property) (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2625">https://github.com/facebook/flipper/issues/2625</a>)</li> <li>Display details for <code>Deprecated</code> declarations such as deprecation message, level and proposed replacement (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2622">https://github.com/facebook/flipper/issues/2622</a>)</li> <li>Display and document <code>Enum</code>'s synthetic <code>values()</code> and <code>valueOf()</code> functions (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2650">https://github.com/facebook/flipper/issues/2650</a>)</li> <li>Do not render constructors for annotation classes (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2642">https://github.com/facebook/flipper/issues/2642</a>)</li> <li>Display values of <code>Java</code> constants (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2609">https://github.com/facebook/flipper/issues/2609</a>)</li> <li>Trim spaces inside indented code blocks (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2661">https://github.com/facebook/flipper/issues/2661</a>, <a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2232">https://github.com/facebook/flipper/issues/2232</a>, <a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2233">https://github.com/facebook/flipper/issues/2233</a>)</li> <li>Replace package name on the cover of package pages with "Package-level declarations" (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2586">https://github.com/facebook/flipper/issues/2586</a>)</li> </ul> <h3>HTML format</h3> <ul> <li>Add IntelliJ icons to the navigation side menu (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2578">https://github.com/facebook/flipper/issues/2578</a>)</li> <li>Add auto-scrolling to selected navigation item (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2575">https://github.com/facebook/flipper/issues/2575</a>)</li> <li>Use OS color scheme to initialize light/dark mode, thanks to <a href="https://github.com/pt2121"><code>@pt2121</code></a>! (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2611">https://github.com/facebook/flipper/issues/2611</a>)</li> <li>Update styling of all section tabs (including platform tabs) to match <a href="https://kotlinlang.org/docs/home.html">kotlinlang.org</a> (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2589">https://github.com/facebook/flipper/issues/2589</a>)</li> <li>Format long signatures dynamically based on client width (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2659">https://github.com/facebook/flipper/issues/2659</a>)</li> <li>Add a horizontal divider between function overloads that are displayed on the same page (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2585">https://github.com/facebook/flipper/issues/2585</a>)</li> <li>Add <code>Cmd + K</code> / <code>Ctrl + K</code> hotkey for opening search dialog, thanks to <a href="https://github.com/atyrin"><code>@atyrin</code></a>! (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2633">https://github.com/facebook/flipper/issues/2633</a>)</li> <li>Make current breadcrumb element not clickable and of default font color (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2588">https://github.com/facebook/flipper/issues/2588</a>)</li> <li>Update code highlighting colors (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2670">https://github.com/facebook/flipper/issues/2670</a>)</li> <li>Do not render platform tabs for common-only content (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2613">https://github.com/facebook/flipper/issues/2613</a>)</li> <li>Apply the same style to all KDoc tag headers, making it more consistent (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2587">https://github.com/facebook/flipper/issues/2587</a>)</li> <li>Move source links into signature, especially helpful on pages with many overloads (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2476">https://github.com/facebook/flipper/issues/2476</a>)</li> <li>Add inner/nested declarations to the navigation side menu (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2597">https://github.com/facebook/flipper/issues/2597</a>)</li> <li>Disable copy button for signatures (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2577">https://github.com/facebook/flipper/issues/2577</a>)</li> </ul> <h3>Javadoc format</h3> <ul> <li>Support <code>var</code> HTML tag, thanks to <a href="https://github.com/atyrin"><code>@atyrin</code></a> (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2617">https://github.com/facebook/flipper/issues/2617</a>)</li> </ul> <h3>Kotlin-as-Java plugin</h3> <ul> <li>Render annotation blocks for transformed classes, previously ignored (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2549">https://github.com/facebook/flipper/issues/2549</a>)</li> </ul> <h3>Gradle runner</h3> <ul> <li>Remove <code>kotlin-stdlib</code> dependency, which should fix errors like <code>Module was compiled with an incompatible version of Kotlin</code>, thanks to <a href="https://github.com/martinbonnin"><code>@martinbonnin</code></a>! (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2570">https://github.com/facebook/flipper/issues/2570</a>)</li> </ul> <h2>Bugfixes</h2> <ul> <li>Fixed missing spaces between adjacent <code>Markdown</code> elements, where <code>_try_ *this*</code> would be rendered as <code>trythis</code> (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2640">https://github.com/facebook/flipper/issues/2640</a>)</li> <li>Fixed dependency resolution errors when building documentation for multiplatform projects with enabled compatibility metadata variant (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2634">https://github.com/facebook/flipper/issues/2634</a>)</li> <li>Fixed a rare <code>StackOverflowError</code> related to type-aliased native references (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2664">https://github.com/facebook/flipper/issues/2664</a>)</li> <li>Fixed <code>IllegalStateException</code> that was caused by using JS's dynamic types (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2645">https://github.com/facebook/flipper/issues/2645</a>)</li> <li>Fixed a bug where certain <code>private</code> declarations were rendered as <code>public</code> (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2639">https://github.com/facebook/flipper/issues/2639</a>)</li> <li>Fixed incorrect handling of static declarations used within <code>see</code> tag (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2627">https://github.com/facebook/flipper/issues/2627</a>)</li> <li>Fixed <code>Java</code> Enum types being rendered as <code>Any</code> (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2647">https://github.com/facebook/flipper/issues/2647</a>)</li> <li>Fixed incorrect signature generation that was caused by generic types caching (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2619">https://github.com/facebook/flipper/issues/2619</a>)</li> <li>Fixed incorrect parsing of static imports in <code>Java</code> annotation params (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2593">https://github.com/facebook/flipper/issues/2593</a>)</li> <li>Fixed <code>sourceRoots</code> configuration param not handling single <code>.java</code> files, thanks to <a href="https://github.com/2017398956"><code>@2017398956</code></a>! (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2604">https://github.com/facebook/flipper/issues/2604</a>)</li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="d61df34a78"><code>d61df34</code></a> Change log level to INFO for messages about alpha plugin versions (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2693">https://github.com/facebook/flipper/issues/2693</a>)</li> <li><a href="9bfc049481"><code>9bfc049</code></a> Change version to release</li> <li><a href="1e67fe74c2"><code>1e67fe7</code></a> Update Kotlin to 1.7.20 (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2692">https://github.com/facebook/flipper/issues/2692</a>)</li> <li><a href="b923bb6767"><code>b923bb6</code></a> Fix some extra indentation in code block that is inside list (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2233">https://github.com/facebook/flipper/issues/2233</a>)</li> <li><a href="a7750c6447"><code>a7750c6</code></a> Update Kotlin to 1.7.20-RC (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2682">https://github.com/facebook/flipper/issues/2682</a>)</li> <li><a href="86f9559ebd"><code>86f9559</code></a> Add documentation for synthetic Enum <code>values()</code> and <code>valueOf()</code> functions (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2">https://github.com/facebook/flipper/issues/2</a>...</li> <li><a href="9207f8f032"><code>9207f8f</code></a> Fix source links in case of dri clashing (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2676">https://github.com/facebook/flipper/issues/2676</a>)</li> <li><a href="ee8e73012c"><code>ee8e730</code></a> Extract classpath from <code>KotlinSharedNativeCompilation</code> as well (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2664">https://github.com/facebook/flipper/issues/2664</a>)</li> <li><a href="a816e91799"><code>a816e91</code></a> Trim four spaces inside indented code block (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2661">https://github.com/facebook/flipper/issues/2661</a>)</li> <li><a href="a0250a5d81"><code>a0250a5</code></a> Update integration tests: coroutines, serialization, biojava (<a href="https://github-redirect.dependabot.com/Kotlin/dokka/issues/2672">https://github.com/facebook/flipper/issues/2672</a>)</li> <li>Additional commits viewable in <a href="https://github.com/Kotlin/dokka/compare/v1.7.10...v1.7.20">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/4225 Reviewed By: ivanmisuno Differential Revision: D43117913 Pulled By: mweststrate fbshipit-source-id: 47725f320ed41d5f09544f1e56ce30816449e659
115 lines
5.3 KiB
Groovy
115 lines
5.3 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.3.0'
|
|
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.22.0'
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$KOTLIN_VERSION"
|
|
classpath "org.jetbrains.dokka:dokka-gradle-plugin:1.7.20"
|
|
classpath "org.jetbrains.kotlin:kotlin-serialization:$KOTLIN_VERSION"
|
|
}
|
|
}
|
|
|
|
plugins {
|
|
id 'de.undercouch.download' version '5.2.1'
|
|
id 'com.github.ben-manes.versions' version '0.44.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:$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.0',
|
|
supportEspressoIntents : 'androidx.test.espresso:espresso-intents:3.5.0',
|
|
supportTestRunner : 'androidx.test:runner:1.5.1',
|
|
// 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
|
|
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',
|
|
junit : 'junit:junit:4.13.2',
|
|
hamcrest : 'org.hamcrest:hamcrest-library:2.2',
|
|
mockito : 'org.mockito:mockito-core:5.0.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
|
|
frescoFlipper : 'com.facebook.fresco:flipper:2.6.0',
|
|
frescoStetho : 'com.facebook.fresco:stetho:2.6.0',
|
|
fresco : 'com.facebook.fresco:fresco:2.6.0'
|
|
]
|