Summary: Bumps [org.jetbrains.dokka:dokka-gradle-plugin](https://github.com/Kotlin/dokka) from 1.8.10 to 1.8.20. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/Kotlin/dokka/releases">org.jetbrains.dokka:dokka-gradle-plugin's releases</a>.</em></p> <blockquote> <h2>1.8.20 Beta</h2> <h1>Improvements</h1> <ul> <li>Update Kotlin Gradle Plugin to 1.8.10 and Android Gradle Plugin to 4.1.3.</li> <li>Move the "Properties" block to be above functions inside the "Members" tab (<a href="https://redirect.github.com/Kotlin/dokka/issues/2908">https://github.com/facebook/flipper/issues/2908</a>)</li> <li>Make Javadoc tag parsing case-sensitive as per Javadoc specification (<a href="https://redirect.github.com/Kotlin/dokka/issues/2907">https://github.com/facebook/flipper/issues/2907</a>)</li> <li>Improve performance by reducing allocations and thus decreasing time spent in GC (<a href="https://redirect.github.com/Kotlin/dokka/issues/2729">https://github.com/facebook/flipper/issues/2729</a>)</li> </ul> <h1>Bugfixes</h1> <ul> <li>Fix unresolved links leading to declarations from another source set <a href="https://redirect.github.com/Kotlin/dokka/issues/2878">https://github.com/facebook/flipper/issues/2878</a></li> <li>Fix Dokka not failing the build if there are errors (<a href="https://redirect.github.com/Kotlin/dokka/issues/2934">https://github.com/facebook/flipper/issues/2934</a>), regression from 1.8.10. Thanks to <a href="https://github.com/jush"><code>@jush</code></a>!</li> <li>Fix <code>TypeNotPresentException</code> thrown in projects without KGP (<a href="https://redirect.github.com/Kotlin/dokka/issues/2890">https://github.com/facebook/flipper/issues/2890</a>), regression from 1.8.10.</li> </ul> <h1>Gradle plugin</h1> <ul> <li>Start using <code>kotlin-dsl</code> plugin (<a href="https://redirect.github.com/Kotlin/dokka/issues/2702">https://github.com/facebook/flipper/issues/2702</a>, <a href="https://redirect.github.com/Kotlin/dokka/issues/2833">#2833</a>). Thanks to <a href="https://github.com/aSemy"><code>@aSemy</code></a>!</li> <li>Use Gradle filesystem types for task properties and apply default values lazily (<a href="https://redirect.github.com/Kotlin/dokka/issues/2707">https://github.com/facebook/flipper/issues/2707</a>, <a href="https://redirect.github.com/Kotlin/dokka/issues/2983">https://github.com/facebook/flipper/issues/2983</a>). Thanks to <a href="https://github.com/aSemy"><code>@aSemy</code></a>!</li> </ul> <h1>Plugin API</h1> <ul> <li>Change the default logging level of console apps (<code>DokkaConsoleLogger</code>) to <code>PROGRESS</code> (<a href="https://redirect.github.com/Kotlin/dokka/issues/2871">https://github.com/facebook/flipper/issues/2871</a>)</li> <li>Introduce <code>InternalDokkaApi</code> annotation (<a href="https://redirect.github.com/Kotlin/dokka/issues/2904">https://github.com/facebook/flipper/issues/2904</a>)</li> <li>Mark various utility API as Dokka-internal (<a href="https://redirect.github.com/Kotlin/dokka/issues/2937">https://github.com/facebook/flipper/issues/2937</a>)</li> </ul> <h1>Infrastructure</h1> <p>Big thanks to <a href="https://github.com/aSemy"><code>@aSemy</code></a>, <a href="https://github.com/Goooler"><code>@Goooler</code></a> and <a href="https://github.com/3flex"><code>@3flex</code></a> for their valuable contributions and for improving the internal developer experience when working on Dokka!</p> <ul> <li>Use convention plugins to configure the subprojects (<a href="https://redirect.github.com/Kotlin/dokka/issues/2704">https://github.com/facebook/flipper/issues/2704</a> by <a href="https://github.com/aSemy"><code>@aSemy</code></a>)</li> <li>Use Gradle Version Catalog and type-safe project dependencies (<a href="https://redirect.github.com/Kotlin/dokka/issues/2884">https://github.com/facebook/flipper/issues/2884</a> by <a href="https://github.com/aSemy"><code>@aSemy</code></a>)</li> <li>Migrate <code>buildSrc</code> to a composite build (<a href="https://redirect.github.com/Kotlin/dokka/issues/2912">https://github.com/facebook/flipper/issues/2912</a> by <a href="https://github.com/Goooler"><code>@Goooler</code></a>)</li> <li>Tidy up build configurations and project files (<a href="https://redirect.github.com/Kotlin/dokka/issues/2911">https://github.com/facebook/flipper/issues/2911</a>, <a href="https://redirect.github.com/Kotlin/dokka/issues/2930">https://github.com/facebook/flipper/issues/2930</a>, <a href="https://redirect.github.com/Kotlin/dokka/issues/2909">https://github.com/facebook/flipper/issues/2909</a>, <a href="https://redirect.github.com/Kotlin/dokka/issues/2946">https://github.com/facebook/flipper/issues/2946</a>, <a href="https://redirect.github.com/Kotlin/dokka/issues/2910">https://github.com/facebook/flipper/issues/2910</a>, <a href="https://redirect.github.com/Kotlin/dokka/issues/2705">https://github.com/facebook/flipper/issues/2705</a> by <a href="https://github.com/aSemy"><code>@aSemy</code></a>)</li> <li>Execute unit tests in parallel (<a href="https://redirect.github.com/Kotlin/dokka/issues/2953">https://github.com/facebook/flipper/issues/2953</a> by <a href="https://github.com/Goooler"><code>@Goooler</code></a>)</li> <li>Add the ability to use different Java versions for build and test tasks (<a href="https://redirect.github.com/Kotlin/dokka/issues/2918">https://github.com/facebook/flipper/issues/2918</a> by <a href="https://github.com/aSemy"><code>@aSemy</code></a>)</li> <li>Add reproducible archive build config (<a href="https://redirect.github.com/Kotlin/dokka/issues/2947">https://github.com/facebook/flipper/issues/2947</a> by <a href="https://github.com/aSemy"><code>@aSemy</code></a>)</li> <li>Configure Kotlin compiler options lazily (<a href="https://redirect.github.com/Kotlin/dokka/issues/2883">https://github.com/facebook/flipper/issues/2883</a> by <a href="https://github.com/Goooler"><code>@Goooler</code></a>)</li> <li>Improve GitHub Actions workflows (<a href="https://redirect.github.com/Kotlin/dokka/issues/2939">https://github.com/facebook/flipper/issues/2939</a>, <a href="https://redirect.github.com/Kotlin/dokka/issues/2938">https://github.com/facebook/flipper/issues/2938</a> by <a href="https://github.com/Goooler"><code>@Goooler</code></a>)</li> <li>Stop testing on Java 15 as it has reached EOL (<a href="https://redirect.github.com/Kotlin/dokka/issues/2892">https://github.com/facebook/flipper/issues/2892</a> by <a href="https://github.com/3flex"><code>@3flex</code></a>)</li> <li>Remove a workaround for a fixed Gradle issue (<a href="https://redirect.github.com/Kotlin/dokka/issues/2891">https://github.com/facebook/flipper/issues/2891</a> by <a href="https://github.com/3flex"><code>@3flex</code></a>)</li> </ul> <h1>Documentation</h1> <ul> <li>Add informational badges to the main <code>README.md</code> (<a href="https://redirect.github.com/Kotlin/dokka/issues/2940">https://github.com/facebook/flipper/issues/2940</a>). Thanks to <a href="https://github.com/Goooler"><code>@Goooler</code></a>!</li> <li>Fix typos, inconsistencies and incorrect links in documentation (<a href="https://redirect.github.com/Kotlin/dokka/issues/2979">https://github.com/facebook/flipper/issues/2979</a>, <a href="https://redirect.github.com/Kotlin/dokka/issues/2973">https://github.com/facebook/flipper/issues/2973</a>, <a href="https://redirect.github.com/Kotlin/dokka/issues/2952">https://github.com/facebook/flipper/issues/2952</a>). Thanks to <a href="https://github.com/LiYing2010"><code>@LiYing2010</code></a>, <a href="https://github.com/strangesource"><code>@strangesource</code></a> and <a href="https://github.com/ansman"><code>@ansman</code></a>!</li> <li>Add more information about the infrastructure to <code>CONTRIBUTING.md</code> (<a href="https://redirect.github.com/Kotlin/dokka/issues/2952">https://github.com/facebook/flipper/issues/2952</a>)</li> </ul> <h1>Security</h1> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="3cfc50dbba"><code>3cfc50d</code></a> Update Dokka's references to 1.8.20 (<a href="https://redirect.github.com/Kotlin/dokka/issues/3028">https://github.com/facebook/flipper/issues/3028</a>)</li> <li><a href="46c10ac2b1"><code>46c10ac</code></a> Fix publishing to Gradle Plugin Portal</li> <li><a href="3c4c8453e4"><code>3c4c845</code></a> Update Dokka to 1.8.10</li> <li><a href="fb0dc3121d"><code>fb0dc31</code></a> Fix missing tab entries for module names with space (<a href="https://redirect.github.com/Kotlin/dokka/issues/3019">https://github.com/facebook/flipper/issues/3019</a>)</li> <li><a href="e3c383cd50"><code>e3c383c</code></a> Add the ability to get serialized configuration of a task (<a href="https://redirect.github.com/Kotlin/dokka/issues/3008">https://github.com/facebook/flipper/issues/3008</a>)</li> <li><a href="b6ee0780c2"><code>b6ee078</code></a> Update dokka_version to 1.8.20</li> <li><a href="a9b3ee192a"><code>a9b3ee1</code></a> Update KGP to 1.8.20 (<a href="https://redirect.github.com/Kotlin/dokka/issues/2989">https://github.com/facebook/flipper/issues/2989</a>)</li> <li><a href="3fc8b83aa5"><code>3fc8b83</code></a> Fix dead links for CLI external links configuration (<a href="https://redirect.github.com/Kotlin/dokka/issues/2985">https://github.com/facebook/flipper/issues/2985</a>)</li> <li><a href="43c33f6350"><code>43c33f6</code></a> Execute unit tests in parallel (<a href="https://redirect.github.com/Kotlin/dokka/issues/2953">https://github.com/facebook/flipper/issues/2953</a>)</li> <li><a href="1632ff37d0"><code>1632ff3</code></a> Minor fixes for documentation (<a href="https://redirect.github.com/Kotlin/dokka/issues/2979">https://github.com/facebook/flipper/issues/2979</a>)</li> <li>Additional commits viewable in <a href="https://github.com/Kotlin/dokka/compare/v1.8.10...v1.8.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/4815 Reviewed By: lblasa Differential Revision: D46680046 Pulled By: passy fbshipit-source-id: 536411c925b9e66f2a94057728ab34bc875554f3
118 lines
5.5 KiB
Groovy
118 lines
5.5 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:8.0.1'
|
|
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.25.2'
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$KOTLIN_VERSION"
|
|
classpath "org.jetbrains.dokka:dokka-gradle-plugin:1.8.20"
|
|
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.47.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 = 33
|
|
compileSdkVersion = 33
|
|
buildToolsVersion = "33.0.2"
|
|
ndkVersion = "25.1.8937393"
|
|
javaTargetVersion = JavaVersion.VERSION_17
|
|
}
|
|
|
|
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',
|
|
supportCoreKtx : 'androidx.core:core-ktx:1.10.1',
|
|
// 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.10.2',
|
|
junit : 'junit:junit:4.13.2',
|
|
hamcrest : 'org.hamcrest:hamcrest-library:2.2',
|
|
mockito : 'org.mockito:mockito-core:5.3.1',
|
|
okhttp3 : 'com.squareup.okhttp3:okhttp:4.11.0',
|
|
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.23.2',
|
|
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:3.0.0',
|
|
frescoStetho : 'com.facebook.fresco:stetho:2.6.0',
|
|
fresco : 'com.facebook.fresco:fresco:2.6.0',
|
|
]
|