diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 000000000..b8b823df2 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,26 @@ +name: CI + +on: + push: + branches: ['**'] + pull_request: + branches: [master] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - uses: actions/setup-java@v4 + with: + java-version: '21' + distribution: 'temurin' + + - uses: actions/cache@v4 + with: + path: ~/.m2/repository + key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} + restore-keys: ${{ runner.os }}-maven- + + - run: mvn test -B -Dsurefire.useFile=false diff --git a/antidot-deployment.md b/antidot-deployment.md index 63642f120..8badd5d13 100644 --- a/antidot-deployment.md +++ b/antidot-deployment.md @@ -1,6 +1,50 @@ -To deploy to the internal Antidot Gitlab, you can use Maven. Some tests may -be broken for now. So if the right tests pass, you can skip the test phase to -deploy. +# Antidot Deployment Guide -Make sure you have a settings file in your Maven home containing a Gitlab -token with the right permissions. \ No newline at end of file +This document describes how to build, test, and release flexmark-java to the internal Antidot Maven repository hosted on GitLab. + +## Target repository + +Artifacts are published to the internal Antidot GitLab Maven registry: + +``` +https://scm.mrs.antidot.net/api/v4/projects/672/packages/maven +``` + +This is configured in the root `pom.xml` under ``. + +## Opening the project in IntelliJ IDEA + +Install Maven if needed: + +```bash +brew install maven +``` + +Then in IntelliJ IDEA, right-click the root `pom.xml` and select **Add as Maven Project**. IDEA will import all 58 modules automatically. + +## Managing multiple GitHub accounts + +Having both a personal and a professional GitHub account on the same machine can cause issues: SSH will use the first key available in the agent, which may not match the expected account. + +A simple solution is to explicitly specify which SSH key to use via the `GIT_SSH_COMMAND` variable: + +```bash +GIT_SSH_COMMAND='ssh -i ~/.ssh/id_ed25519_gitlab -o IdentitiesOnly=yes' git push +``` + +This can be prepended to any git command (`push`, `pull`, `fetch`, etc.) without affecting the global configuration. + +## Continuous Integration + +A GitHub Actions workflow runs on every push and on pull requests targeting `master`. It builds the project and runs the test suite on Java 21. + +See: [`.github/workflows/ci.yml`](.github/workflows/ci.yml) + +The CI does **not** deploy automatically — releases are triggered manually. + +## Known test limitations + +Two tests are intentionally disabled: + +- **Pegdown profile tests** — skipped on Java 9+. Pegdown's underlying parser (Parboiled) relies on reflective access to JVM internals that have been restricted since Java 9, causing a runtime error. These tests only work on Java 8. +- **Abbreviation/typographic quotes interaction test** — marked as ignored. The test is locale-sensitive: abbreviation matching for accented characters (e.g. `É.U.`) behaves inconsistently across systems due to how Java handles regex word boundaries with non-ASCII characters. diff --git a/buildSrc/build.gradle.kts b/buildSrc/build.gradle.kts deleted file mode 100644 index 018784784..000000000 --- a/buildSrc/build.gradle.kts +++ /dev/null @@ -1,13 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - // Support convention plugins written in Kotlin. Convention plugins are build scripts in 'src/main' that automatically become available as plugins in the main build. - `kotlin-dsl` -} - -repositories { - // Use the plugin portal to apply community plugins in convention plugins. - gradlePluginPortal() -} diff --git a/flexmark-all/build.gradle.kts b/flexmark-all/build.gradle.kts deleted file mode 100644 index d39d34a2a..000000000 --- a/flexmark-all/build.gradle.kts +++ /dev/null @@ -1,59 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark")) - api(project(":flexmark-ext-abbreviation")) - api(project(":flexmark-ext-admonition")) - api(project(":flexmark-ext-anchorlink")) - api(project(":flexmark-ext-aside")) - api(project(":flexmark-ext-attributes")) - api(project(":flexmark-ext-autolink")) - api(project(":flexmark-ext-definition")) - api(project(":flexmark-ext-emoji")) - api(project(":flexmark-ext-enumerated-reference")) - api(project(":flexmark-ext-escaped-character")) - api(project(":flexmark-ext-footnotes")) - api(project(":flexmark-ext-gfm-issues")) - api(project(":flexmark-ext-gfm-strikethrough")) - api(project(":flexmark-ext-gfm-tasklist")) - api(project(":flexmark-ext-gfm-users")) - api(project(":flexmark-ext-gitlab")) - api(project(":flexmark-ext-jekyll-front-matter")) - api(project(":flexmark-ext-jekyll-tag")) - api(project(":flexmark-ext-media-tags")) - api(project(":flexmark-ext-resizable-image")) - api(project(":flexmark-ext-macros")) - api(project(":flexmark-ext-ins")) - api(project(":flexmark-ext-xwiki-macros")) - api(project(":flexmark-ext-superscript")) - api(project(":flexmark-ext-tables")) - api(project(":flexmark-ext-toc")) - api(project(":flexmark-ext-typographic")) - api(project(":flexmark-ext-wikilink")) - api(project(":flexmark-ext-yaml-front-matter")) - api(project(":flexmark-ext-youtube-embedded")) - api(project(":flexmark-html2md-converter")) - api(project(":flexmark-jira-converter")) - api(project(":flexmark-pdf-converter")) - api(project(":flexmark-profile-pegdown")) - api(project(":flexmark-util-ast")) - api(project(":flexmark-util-builder")) - api(project(":flexmark-util-collection")) - api(project(":flexmark-util-data")) - api(project(":flexmark-util-dependency")) - api(project(":flexmark-util-format")) - api(project(":flexmark-util-html")) - api(project(":flexmark-util-misc")) - api(project(":flexmark-util-options")) - api(project(":flexmark-util-sequence")) - api(project(":flexmark-util-visitor")) - api(project(":flexmark-youtrack-converter")) -} - -description = "flexmark-all" diff --git a/flexmark-core-test/build.gradle.kts b/flexmark-core-test/build.gradle.kts deleted file mode 100644 index cacaffcea..000000000 --- a/flexmark-core-test/build.gradle.kts +++ /dev/null @@ -1,18 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark")) - api(project(":flexmark-util")) - api(project(":flexmark-test-util")) - api(project(":flexmark-test-specs")) - testImplementation(libs.org.openjdk.jmh.jmh.core) - testImplementation(libs.org.openjdk.jmh.jmh.generator.annprocess) -} - -description = "shared test classes and core tests" diff --git a/flexmark-docx-converter/build.gradle.kts b/flexmark-docx-converter/build.gradle.kts deleted file mode 100644 index 894836f1e..000000000 --- a/flexmark-docx-converter/build.gradle.kts +++ /dev/null @@ -1,38 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark-util")) - api(project(":flexmark")) - api(project(":flexmark-ext-definition")) - api(project(":flexmark-ext-emoji")) - api(project(":flexmark-ext-footnotes")) - api(project(":flexmark-ext-gfm-strikethrough")) - api(project(":flexmark-ext-ins")) - api(project(":flexmark-ext-jekyll-tag")) - api(project(":flexmark-ext-superscript")) - api(project(":flexmark-ext-tables")) - api(project(":flexmark-ext-toc")) - api(project(":flexmark-ext-wikilink")) - api(project(":flexmark-ext-enumerated-reference")) - api(project(":flexmark-ext-attributes")) - api(project(":flexmark-ext-aside")) - api(project(":flexmark-ext-gitlab")) - api(project(":flexmark-ext-macros")) - api(libs.org.apache.xmlgraphics.xmlgraphics.commons) - api(libs.commons.io.commons.io) - api(libs.org.docx4j.docx4j.jaxb.referenceimpl) - api(libs.org.apache.logging.log4j.log4j.api) - api(libs.org.apache.logging.log4j.log4j.core) - api(libs.org.apache.logging.log4j.log4j.v1.v2.api) - testImplementation(project(":flexmark-test-util")) - testImplementation(project(":flexmark-core-test")) - testImplementation(project(":flexmark-ext-autolink")) -} - -description = "flexmark-java extension for rendering docx format" diff --git a/flexmark-ext-abbreviation/build.gradle.kts b/flexmark-ext-abbreviation/build.gradle.kts deleted file mode 100644 index e75969741..000000000 --- a/flexmark-ext-abbreviation/build.gradle.kts +++ /dev/null @@ -1,22 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark-util")) - api(project(":flexmark-ext-autolink")) - api(project(":flexmark")) - testImplementation(project(":flexmark-test-util")) - testImplementation(project(":flexmark-core-test")) - testImplementation(project(":flexmark-ext-typographic")) - testImplementation(project(":flexmark-ext-ins")) - testImplementation(project(":flexmark-ext-escaped-character")) - testImplementation(project(":flexmark-ext-gfm-strikethrough")) - testImplementation(project(":flexmark-ext-superscript")) -} - -description = "flexmark-java extension for abbreviations in text" diff --git a/flexmark-ext-abbreviation/src/test/resources/ext_abbreviation_ast_spec.md b/flexmark-ext-abbreviation/src/test/resources/ext_abbreviation_ast_spec.md index 0d18ad7da..09465bcb8 100644 --- a/flexmark-ext-abbreviation/src/test/resources/ext_abbreviation_ast_spec.md +++ b/flexmark-ext-abbreviation/src/test/resources/ext_abbreviation_ast_spec.md @@ -246,157 +246,86 @@ Document[0, 48] ```````````````````````````````` -[//]: # (## Typographic quotes interaction) +## Typographic quotes interaction -[//]: # () -[//]: # (Typographic quotes and smarts will break up text and make it not match abbreviations) +Typographic quotes and smarts will break up text and make it not match abbreviations -[//]: # () -[//]: # (```````````````````````````````` example Typographic quotes interaction: 1) +```````````````````````````````` example(Typographic quotes interaction: 1) options(IGNORE) +Some text about HTML, SGML and HTML4. -[//]: # (Some text about HTML, SGML and HTML4.) +Let's talk about the U.S.A., (É.U. or É.-U. d'A. in French). -[//]: # () -[//]: # (Let's talk about the U.S.A., (É.U. or É.-U. d'A. in French).) - -[//]: # () -[//]: # (*[HTML4]: Hyper Text Markup Language version 4) - -[//]: # (*[HTML]: Hyper Text Markup Language) - -[//]: # (*[SGML]: Standard Generalized Markup Language) - -[//]: # (*[U.S.A.]: United States of America) - -[//]: # (*[É.U.]: États-Unis d'Amérique) - -[//]: # (*[É.-U. d'A.]: États-Unis d'Amérique) - -[//]: # () -[//]: # (And here we have a CD, some CDs, and some other CD's.) - -[//]: # () -[//]: # (*[CD]: Compact Disk) - -[//]: # () -[//]: # (Let's transfert documents through TCP/IP, using TCP packets.) - -[//]: # () -[//]: # (*[IP]: Internet Protocol) - -[//]: # (*[TCP]: Transmission Control Protocol) - -[//]: # (.) - -[//]: # (

Some text about HTML, SGML and HTML4.

) - -[//]: # (

Let’s talk about the U.S.A., (É.U. or É.-U. d’A. in French).

) - -[//]: # (

And here we have a CD, some CDs, and some other CD’s.

) - -[//]: # (

Let’s transfert documents through TCP/IP, using TCP packets.

) - -[//]: # (.) - -[//]: # (Document[0, 535]) - -[//]: # ( Paragraph[0, 38] isTrailingBlankLine) - -[//]: # ( TextBase[0, 37] chars:[0, 37, "Some … TML4."]) - -[//]: # ( Text[0, 16] chars:[0, 16, "Some … bout "]) - -[//]: # ( Abbreviation[16, 20] chars:[16, 20, "HTML"]) - -[//]: # ( Text[20, 22] chars:[20, 22, ", "]) - -[//]: # ( Abbreviation[22, 26] chars:[22, 26, "SGML"]) - -[//]: # ( Text[26, 31] chars:[26, 31, " and "]) - -[//]: # ( Abbreviation[31, 36] chars:[31, 36, "HTML4"]) - -[//]: # ( Text[36, 37] chars:[36, 37, "."]) - -[//]: # ( Paragraph[39, 100] isTrailingBlankLine) - -[//]: # ( Text[39, 42] chars:[39, 42, "Let"]) - -[//]: # ( TypographicSmarts[42, 43] typographic: ’ ) - -[//]: # ( TextBase[43, 84] chars:[43, 84, "s tal … -U. d"]) - -[//]: # ( Text[43, 60] chars:[43, 60, "s tal … the "]) - -[//]: # ( Abbreviation[60, 66] chars:[60, 66, "U.S.A."]) - -[//]: # ( Text[66, 69] chars:[66, 69, ", ("]) - -[//]: # ( Abbreviation[69, 73] chars:[69, 73, "É.U."]) - -[//]: # ( Text[73, 84] chars:[73, 84, " or É … -U. d"]) - -[//]: # ( TypographicSmarts[84, 85] typographic: ’ ) - -[//]: # ( Text[85, 99] chars:[85, 99, "A. in … nch)."]) - -[//]: # ( AbbreviationBlock[101, 147] open:[101, 103] text:[103, 108] close:[108, 110] abbreviation:[111, 147]) - -[//]: # ( AbbreviationBlock[148, 183] open:[148, 150] text:[150, 154] close:[154, 156] abbreviation:[157, 183]) - -[//]: # ( AbbreviationBlock[184, 229] open:[184, 186] text:[186, 190] close:[190, 192] abbreviation:[193, 229]) - -[//]: # ( AbbreviationBlock[230, 265] open:[230, 232] text:[232, 238] close:[238, 240] abbreviation:[241, 265]) - -[//]: # ( AbbreviationBlock[266, 296] open:[266, 268] text:[268, 272] close:[272, 274] abbreviation:[275, 296]) - -[//]: # ( AbbreviationBlock[297, 333] open:[297, 299] text:[299, 309] close:[309, 311] abbreviation:[312, 333]) - -[//]: # ( Paragraph[335, 389] isTrailingBlankLine) - -[//]: # ( TextBase[335, 385] chars:[335, 385, "And h … er CD"]) - -[//]: # ( Text[335, 354] chars:[335, 354, "And h … ve a "]) - -[//]: # ( Abbreviation[354, 356] chars:[354, 356, "CD"]) - -[//]: # ( Text[356, 383] chars:[356, 383, ", som … ther "]) - -[//]: # ( Abbreviation[383, 385] chars:[383, 385, "CD"]) - -[//]: # ( TypographicSmarts[385, 386] typographic: ’ ) - -[//]: # ( Text[386, 388] chars:[386, 388, "s."]) - -[//]: # ( AbbreviationBlock[390, 409] open:[390, 392] text:[392, 394] close:[394, 396] abbreviation:[397, 409]) - -[//]: # ( Paragraph[411, 472] isTrailingBlankLine) - -[//]: # ( Text[411, 414] chars:[411, 414, "Let"]) - -[//]: # ( TypographicSmarts[414, 415] typographic: ’ ) - -[//]: # ( TextBase[415, 471] chars:[415, 471, "s tra … kets."]) - -[//]: # ( Text[415, 445] chars:[415, 445, "s tra … ough "]) - -[//]: # ( Abbreviation[445, 448] chars:[445, 448, "TCP"]) - -[//]: # ( Text[448, 449] chars:[448, 449, "/"]) - -[//]: # ( Abbreviation[449, 451] chars:[449, 451, "IP"]) - -[//]: # ( Text[451, 459] chars:[451, 459, ", using "]) - -[//]: # ( Abbreviation[459, 462] chars:[459, 462, "TCP"]) +*[HTML4]: Hyper Text Markup Language version 4 +*[HTML]: Hyper Text Markup Language +*[SGML]: Standard Generalized Markup Language +*[U.S.A.]: United States of America +*[É.U.]: États-Unis d'Amérique +*[É.-U. d'A.]: États-Unis d'Amérique -[//]: # ( Text[462, 471] chars:[462, 471, " packets."]) +And here we have a CD, some CDs, and some other CD's. -[//]: # ( AbbreviationBlock[473, 497] open:[473, 475] text:[475, 477] close:[477, 479] abbreviation:[480, 497]) +*[CD]: Compact Disk -[//]: # ( AbbreviationBlock[498, 535] open:[498, 500] text:[500, 503] close:[503, 505] abbreviation:[506, 535]) +Let's transfert documents through TCP/IP, using TCP packets. -[//]: # (````````````````````````````````) +*[IP]: Internet Protocol +*[TCP]: Transmission Control Protocol +. +

Some text about HTML, SGML and HTML4.

+

Let’s talk about the U.S.A., (É.U. or É.-U. d’A. in French).

+

And here we have a CD, some CDs, and some other CD’s.

+

Let’s transfert documents through TCP/IP, using TCP packets.

+. +Document[0, 535] + Paragraph[0, 38] isTrailingBlankLine + TextBase[0, 37] chars:[0, 37, "Some … TML4."] + Text[0, 16] chars:[0, 16, "Some … bout "] + Abbreviation[16, 20] chars:[16, 20, "HTML"] + Text[20, 22] chars:[20, 22, ", "] + Abbreviation[22, 26] chars:[22, 26, "SGML"] + Text[26, 31] chars:[26, 31, " and "] + Abbreviation[31, 36] chars:[31, 36, "HTML4"] + Text[36, 37] chars:[36, 37, "."] + Paragraph[39, 100] isTrailingBlankLine + Text[39, 42] chars:[39, 42, "Let"] + TypographicSmarts[42, 43] typographic: ’ + TextBase[43, 84] chars:[43, 84, "s tal … -U. d"] + Text[43, 60] chars:[43, 60, "s tal … the "] + Abbreviation[60, 66] chars:[60, 66, "U.S.A."] + Text[66, 69] chars:[66, 69, ", ("] + Abbreviation[69, 73] chars:[69, 73, "É.U."] + Text[73, 84] chars:[73, 84, " or É … -U. d"] + TypographicSmarts[84, 85] typographic: ’ + Text[85, 99] chars:[85, 99, "A. in … nch)."] + AbbreviationBlock[101, 147] open:[101, 103] text:[103, 108] close:[108, 110] abbreviation:[111, 147] + AbbreviationBlock[148, 183] open:[148, 150] text:[150, 154] close:[154, 156] abbreviation:[157, 183] + AbbreviationBlock[184, 229] open:[184, 186] text:[186, 190] close:[190, 192] abbreviation:[193, 229] + AbbreviationBlock[230, 265] open:[230, 232] text:[232, 238] close:[238, 240] abbreviation:[241, 265] + AbbreviationBlock[266, 296] open:[266, 268] text:[268, 272] close:[272, 274] abbreviation:[275, 296] + AbbreviationBlock[297, 333] open:[297, 299] text:[299, 309] close:[309, 311] abbreviation:[312, 333] + Paragraph[335, 389] isTrailingBlankLine + TextBase[335, 385] chars:[335, 385, "And h … er CD"] + Text[335, 354] chars:[335, 354, "And h … ve a "] + Abbreviation[354, 356] chars:[354, 356, "CD"] + Text[356, 383] chars:[356, 383, ", som … ther "] + Abbreviation[383, 385] chars:[383, 385, "CD"] + TypographicSmarts[385, 386] typographic: ’ + Text[386, 388] chars:[386, 388, "s."] + AbbreviationBlock[390, 409] open:[390, 392] text:[392, 394] close:[394, 396] abbreviation:[397, 409] + Paragraph[411, 472] isTrailingBlankLine + Text[411, 414] chars:[411, 414, "Let"] + TypographicSmarts[414, 415] typographic: ’ + TextBase[415, 471] chars:[415, 471, "s tra … kets."] + Text[415, 445] chars:[415, 445, "s tra … ough "] + Abbreviation[445, 448] chars:[445, 448, "TCP"] + Text[448, 449] chars:[448, 449, "/"] + Abbreviation[449, 451] chars:[449, 451, "IP"] + Text[451, 459] chars:[451, 459, ", using "] + Abbreviation[459, 462] chars:[459, 462, "TCP"] + Text[462, 471] chars:[462, 471, " packets."] + AbbreviationBlock[473, 497] open:[473, 475] text:[475, 477] close:[477, 479] abbreviation:[480, 497] + AbbreviationBlock[498, 535] open:[498, 500] text:[500, 503] close:[503, 505] abbreviation:[506, 535] +```````````````````````````````` ## Ins extension interaction diff --git a/flexmark-ext-admonition/build.gradle.kts b/flexmark-ext-admonition/build.gradle.kts deleted file mode 100644 index 6a6793b16..000000000 --- a/flexmark-ext-admonition/build.gradle.kts +++ /dev/null @@ -1,17 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark-util")) - api(project(":flexmark")) - testImplementation(project(":flexmark-test-util")) - testImplementation(project(":flexmark-ext-tables")) - testImplementation(project(":flexmark-core-test")) -} - -description = "flexmark-java extension for admonition syntax" diff --git a/flexmark-ext-anchorlink/build.gradle.kts b/flexmark-ext-anchorlink/build.gradle.kts deleted file mode 100644 index bd9f83303..000000000 --- a/flexmark-ext-anchorlink/build.gradle.kts +++ /dev/null @@ -1,17 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark-util")) - api(project(":flexmark")) - testImplementation(project(":flexmark-test-util")) - testImplementation(project(":flexmark-jira-converter")) - testImplementation(project(":flexmark-core-test")) -} - -description = "flexmark-java extension to generate anchor links for headers" diff --git a/flexmark-ext-aside/build.gradle.kts b/flexmark-ext-aside/build.gradle.kts deleted file mode 100644 index bce033e8d..000000000 --- a/flexmark-ext-aside/build.gradle.kts +++ /dev/null @@ -1,17 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark-util")) - api(project(":flexmark")) - api(project(":flexmark-jira-converter")) - testImplementation(project(":flexmark-test-util")) - testImplementation(project(":flexmark-core-test")) -} - -description = "flexmark-java extension for converting | to aside tags" diff --git a/flexmark-ext-attributes/build.gradle.kts b/flexmark-ext-attributes/build.gradle.kts deleted file mode 100644 index 040c1454f..000000000 --- a/flexmark-ext-attributes/build.gradle.kts +++ /dev/null @@ -1,23 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark-util")) - api(project(":flexmark")) - testImplementation(project(":flexmark-test-util")) - testImplementation(project(":flexmark-ext-anchorlink")) - testImplementation(project(":flexmark-ext-toc")) - testImplementation(project(":flexmark-ext-definition")) - testImplementation(project(":flexmark-ext-escaped-character")) - testImplementation(project(":flexmark-ext-tables")) - testImplementation(project(":flexmark-ext-typographic")) - testImplementation(project(":flexmark-ext-emoji")) - testImplementation(project(":flexmark-core-test")) -} - -description = "flexmark-java extension for attributes" diff --git a/flexmark-ext-autolink/build.gradle.kts b/flexmark-ext-autolink/build.gradle.kts deleted file mode 100644 index 4eb2c9c4d..000000000 --- a/flexmark-ext-autolink/build.gradle.kts +++ /dev/null @@ -1,18 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark-util")) - api(project(":flexmark")) - api(libs.org.nibor.autolink.autolink) - testImplementation(project(":flexmark-test-util")) - testImplementation(project(":flexmark-core-test")) - testImplementation(project(":flexmark-ext-typographic")) -} - -description = "flexmark-java extension for autolinking" diff --git a/flexmark-ext-definition/build.gradle.kts b/flexmark-ext-definition/build.gradle.kts deleted file mode 100644 index 27e137e15..000000000 --- a/flexmark-ext-definition/build.gradle.kts +++ /dev/null @@ -1,16 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark-util")) - api(project(":flexmark")) - testImplementation(project(":flexmark-test-util")) - testImplementation(project(":flexmark-core-test")) -} - -description = "flexmark-java extension for definition" diff --git a/flexmark-ext-emoji/build.gradle.kts b/flexmark-ext-emoji/build.gradle.kts deleted file mode 100644 index 8ead4a205..000000000 --- a/flexmark-ext-emoji/build.gradle.kts +++ /dev/null @@ -1,17 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark-util")) - api(project(":flexmark")) - api(project(":flexmark-jira-converter")) - testImplementation(project(":flexmark-test-util")) - testImplementation(project(":flexmark-core-test")) -} - -description = "flexmark-java extension for emoji shortcuts" diff --git a/flexmark-ext-enumerated-reference/build.gradle.kts b/flexmark-ext-enumerated-reference/build.gradle.kts deleted file mode 100644 index 2a36e918f..000000000 --- a/flexmark-ext-enumerated-reference/build.gradle.kts +++ /dev/null @@ -1,18 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark-util")) - api(project(":flexmark")) - api(project(":flexmark-ext-attributes")) - testImplementation(project(":flexmark-test-util")) - testImplementation(project(":flexmark-ext-tables")) - testImplementation(project(":flexmark-core-test")) -} - -description = "flexmark-java extension for enumerated reference" diff --git a/flexmark-ext-escaped-character/build.gradle.kts b/flexmark-ext-escaped-character/build.gradle.kts deleted file mode 100644 index 05eb765d4..000000000 --- a/flexmark-ext-escaped-character/build.gradle.kts +++ /dev/null @@ -1,16 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark-util")) - api(project(":flexmark")) - testImplementation(project(":flexmark-test-util")) - testImplementation(project(":flexmark-core-test")) -} - -description = "flexmark-java extension for escaped_character" diff --git a/flexmark-ext-footnotes/build.gradle.kts b/flexmark-ext-footnotes/build.gradle.kts deleted file mode 100644 index 2d5e3812d..000000000 --- a/flexmark-ext-footnotes/build.gradle.kts +++ /dev/null @@ -1,17 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark-util")) - api(project(":flexmark")) - testImplementation(project(":flexmark-test-util")) - testImplementation(project(":flexmark-ext-tables")) - testImplementation(project(":flexmark-core-test")) -} - -description = "flexmark-java extension for footnotes" diff --git a/flexmark-ext-gfm-issues/build.gradle.kts b/flexmark-ext-gfm-issues/build.gradle.kts deleted file mode 100644 index 573939380..000000000 --- a/flexmark-ext-gfm-issues/build.gradle.kts +++ /dev/null @@ -1,16 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark-util")) - api(project(":flexmark")) - testImplementation(project(":flexmark-test-util")) - testImplementation(project(":flexmark-core-test")) -} - -description = "flexmark-java extension for GitHub issue syntax" diff --git a/flexmark-ext-gfm-strikethrough/build.gradle.kts b/flexmark-ext-gfm-strikethrough/build.gradle.kts deleted file mode 100644 index ae20496c2..000000000 --- a/flexmark-ext-gfm-strikethrough/build.gradle.kts +++ /dev/null @@ -1,16 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark-util")) - api(project(":flexmark")) - testImplementation(project(":flexmark-test-util")) - testImplementation(project(":flexmark-core-test")) -} - -description = "flexmark-java extension for strikethrough" diff --git a/flexmark-ext-gfm-tasklist/build.gradle.kts b/flexmark-ext-gfm-tasklist/build.gradle.kts deleted file mode 100644 index fbdceb971..000000000 --- a/flexmark-ext-gfm-tasklist/build.gradle.kts +++ /dev/null @@ -1,16 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark-util")) - api(project(":flexmark")) - testImplementation(project(":flexmark-test-util")) - testImplementation(project(":flexmark-core-test")) -} - -description = "flexmark-java extension for generating GitHub style task list items" diff --git a/flexmark-ext-gfm-users/build.gradle.kts b/flexmark-ext-gfm-users/build.gradle.kts deleted file mode 100644 index 9c754d309..000000000 --- a/flexmark-ext-gfm-users/build.gradle.kts +++ /dev/null @@ -1,16 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark-util")) - api(project(":flexmark")) - testImplementation(project(":flexmark-test-util")) - testImplementation(project(":flexmark-core-test")) -} - -description = "flexmark-java extension for GitHub user syntax" diff --git a/flexmark-ext-gitlab/build.gradle.kts b/flexmark-ext-gitlab/build.gradle.kts deleted file mode 100644 index 4c6ccd449..000000000 --- a/flexmark-ext-gitlab/build.gradle.kts +++ /dev/null @@ -1,16 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark-util")) - api(project(":flexmark")) - testImplementation(project(":flexmark-test-util")) - testImplementation(project(":flexmark-core-test")) -} - -description = "flexmark-java extension for GitLab Flavoured Markdown" diff --git a/flexmark-ext-ins/build.gradle.kts b/flexmark-ext-ins/build.gradle.kts deleted file mode 100644 index dded6fe0d..000000000 --- a/flexmark-ext-ins/build.gradle.kts +++ /dev/null @@ -1,16 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark-util")) - api(project(":flexmark")) - testImplementation(project(":flexmark-test-util")) - testImplementation(project(":flexmark-core-test")) -} - -description = "flexmark-java extension for ins" diff --git a/flexmark-ext-jekyll-front-matter/build.gradle.kts b/flexmark-ext-jekyll-front-matter/build.gradle.kts deleted file mode 100644 index 226bfcf2f..000000000 --- a/flexmark-ext-jekyll-front-matter/build.gradle.kts +++ /dev/null @@ -1,17 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark-util")) - api(project(":flexmark")) - api(project(":flexmark-ext-yaml-front-matter")) - testImplementation(project(":flexmark-test-util")) - testImplementation(project(":flexmark-core-test")) -} - -description = "flexmark-java extension for jekyll_front_matter" diff --git a/flexmark-ext-jekyll-tag/build.gradle.kts b/flexmark-ext-jekyll-tag/build.gradle.kts deleted file mode 100644 index 1a342d42f..000000000 --- a/flexmark-ext-jekyll-tag/build.gradle.kts +++ /dev/null @@ -1,16 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark-util")) - api(project(":flexmark")) - testImplementation(project(":flexmark-test-util")) - testImplementation(project(":flexmark-core-test")) -} - -description = "flexmark-java extension for jekyll tag parsing" diff --git a/flexmark-ext-macros/build.gradle.kts b/flexmark-ext-macros/build.gradle.kts deleted file mode 100644 index 7f4c5357b..000000000 --- a/flexmark-ext-macros/build.gradle.kts +++ /dev/null @@ -1,18 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark-util")) - api(project(":flexmark")) - api(project(":flexmark-ext-gitlab")) - testImplementation(project(":flexmark-test-util")) - testImplementation(project(":flexmark-ext-tables")) - testImplementation(project(":flexmark-core-test")) -} - -description = "flexmark-java extension for processing macros" diff --git a/flexmark-ext-media-tags/build.gradle.kts b/flexmark-ext-media-tags/build.gradle.kts deleted file mode 100644 index eac01a5d9..000000000 --- a/flexmark-ext-media-tags/build.gradle.kts +++ /dev/null @@ -1,15 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark")) - testImplementation(project(":flexmark-test-util")) - testImplementation(project(":flexmark-core-test")) -} - -description = "flexmark-java extension for HTML5 media tags" diff --git a/flexmark-ext-resizable-image/build.gradle.kts b/flexmark-ext-resizable-image/build.gradle.kts deleted file mode 100644 index 3925039c2..000000000 --- a/flexmark-ext-resizable-image/build.gradle.kts +++ /dev/null @@ -1,15 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark")) - testImplementation(project(":flexmark-test-util")) - testImplementation(project(":flexmark-core-test")) -} - -description = "flexmark-java extension for image's size" diff --git a/flexmark-ext-spec-example/build.gradle.kts b/flexmark-ext-spec-example/build.gradle.kts deleted file mode 100644 index 4ab503668..000000000 --- a/flexmark-ext-spec-example/build.gradle.kts +++ /dev/null @@ -1,17 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark-util")) - api(project(":flexmark")) - api(project(":flexmark-test-util")) - testImplementation(project(":flexmark-core-test")) - testImplementation(project(":flexmark-ext-jekyll-front-matter")) -} - -description = "flexmark-java extension for specexample" diff --git a/flexmark-ext-superscript/build.gradle.kts b/flexmark-ext-superscript/build.gradle.kts deleted file mode 100644 index 9e295df49..000000000 --- a/flexmark-ext-superscript/build.gradle.kts +++ /dev/null @@ -1,16 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark-util")) - api(project(":flexmark")) - testImplementation(project(":flexmark-test-util")) - testImplementation(project(":flexmark-core-test")) -} - -description = "flexmark-java extension for superscript" diff --git a/flexmark-ext-tables/build.gradle.kts b/flexmark-ext-tables/build.gradle.kts deleted file mode 100644 index 9100c3ca8..000000000 --- a/flexmark-ext-tables/build.gradle.kts +++ /dev/null @@ -1,17 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark-util")) - api(project(":flexmark")) - testImplementation(project(":flexmark-test-util")) - testImplementation(project(":flexmark-ext-typographic")) - testImplementation(project(":flexmark-core-test")) -} - -description = "flexmark-java extension for tables" diff --git a/flexmark-ext-toc/build.gradle.kts b/flexmark-ext-toc/build.gradle.kts deleted file mode 100644 index 5efee78b8..000000000 --- a/flexmark-ext-toc/build.gradle.kts +++ /dev/null @@ -1,17 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark-util")) - api(project(":flexmark")) - testImplementation(project(":flexmark-core-test")) - testImplementation(project(":flexmark-test-util")) - testImplementation(project(":flexmark-ext-typographic")) -} - -description = "flexmark-java extension for toc" diff --git a/flexmark-ext-typographic/build.gradle.kts b/flexmark-ext-typographic/build.gradle.kts deleted file mode 100644 index 35203f45b..000000000 --- a/flexmark-ext-typographic/build.gradle.kts +++ /dev/null @@ -1,16 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark-util")) - api(project(":flexmark")) - testImplementation(project(":flexmark-test-util")) - testImplementation(project(":flexmark-core-test")) -} - -description = "flexmark-java extension for typographic" diff --git a/flexmark-ext-wikilink/build.gradle.kts b/flexmark-ext-wikilink/build.gradle.kts deleted file mode 100644 index dc5265d01..000000000 --- a/flexmark-ext-wikilink/build.gradle.kts +++ /dev/null @@ -1,17 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark-util")) - api(project(":flexmark")) - testImplementation(project(":flexmark-test-util")) - testImplementation(project(":flexmark-core-test")) - testImplementation(project(":flexmark-ext-typographic")) -} - -description = "flexmark-java extension for wiki links" diff --git a/flexmark-ext-xwiki-macros/build.gradle.kts b/flexmark-ext-xwiki-macros/build.gradle.kts deleted file mode 100644 index 8b265ca2d..000000000 --- a/flexmark-ext-xwiki-macros/build.gradle.kts +++ /dev/null @@ -1,16 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark-util")) - api(project(":flexmark")) - testImplementation(project(":flexmark-test-util")) - testImplementation(project(":flexmark-core-test")) -} - -description = "flexmark-java extension for xwiki application specific macros" diff --git a/flexmark-ext-yaml-front-matter/build.gradle.kts b/flexmark-ext-yaml-front-matter/build.gradle.kts deleted file mode 100644 index a9f4d30ae..000000000 --- a/flexmark-ext-yaml-front-matter/build.gradle.kts +++ /dev/null @@ -1,16 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark-util")) - api(project(":flexmark")) - testImplementation(project(":flexmark-test-util")) - testImplementation(project(":flexmark-core-test")) -} - -description = "flexmark-java extension for YAML front matter" diff --git a/flexmark-ext-youtube-embedded/build.gradle.kts b/flexmark-ext-youtube-embedded/build.gradle.kts deleted file mode 100644 index e0c6cf598..000000000 --- a/flexmark-ext-youtube-embedded/build.gradle.kts +++ /dev/null @@ -1,15 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark")) - testImplementation(project(":flexmark-test-util")) - testImplementation(project(":flexmark-core-test")) -} - -description = "flexmark-ext-youtube-embedded" diff --git a/flexmark-ext-zzzzzz/build.gradle.kts b/flexmark-ext-zzzzzz/build.gradle.kts deleted file mode 100644 index aa5085e45..000000000 --- a/flexmark-ext-zzzzzz/build.gradle.kts +++ /dev/null @@ -1,17 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark")) - api(project(":flexmark-util")) - testImplementation(project(":flexmark-core-test")) - testImplementation(project(":flexmark-test-util")) - testImplementation(project(":flexmark-ext-tables")) -} - -description = "flexmark-java extension for zzzzzz" diff --git a/flexmark-html2md-converter/build.gradle.kts b/flexmark-html2md-converter/build.gradle.kts deleted file mode 100644 index 73980fe43..000000000 --- a/flexmark-html2md-converter/build.gradle.kts +++ /dev/null @@ -1,17 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark-util")) - api(project(":flexmark")) - api(project(":flexmark-ext-emoji")) - api(libs.org.jsoup.jsoup) - testImplementation(project(":flexmark-test-util")) -} - -description = "flexmark-java HTML to Markdown extensible converter" diff --git a/flexmark-integration-test/build.gradle.kts b/flexmark-integration-test/build.gradle.kts deleted file mode 100644 index f8bca56d9..000000000 --- a/flexmark-integration-test/build.gradle.kts +++ /dev/null @@ -1,30 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark-util")) - testImplementation(project(":flexmark")) - testImplementation(project(":flexmark-ext-autolink")) - testImplementation(project(":flexmark-ext-abbreviation")) - testImplementation(project(":flexmark-ext-emoji")) - testImplementation(project(":flexmark-ext-footnotes")) - testImplementation(project(":flexmark-ext-gfm-strikethrough")) - testImplementation(project(":flexmark-ext-gfm-tasklist")) - testImplementation(project(":flexmark-ext-tables")) - testImplementation(project(":flexmark-ext-toc")) - testImplementation(project(":flexmark-ext-yaml-front-matter")) - testImplementation(project(":flexmark-ext-wikilink")) - testImplementation(libs.org.pegdown.pegdown) - testImplementation(project(":flexmark-test-util")) - testImplementation(libs.org.openjdk.jmh.jmh.core) - testImplementation(libs.org.openjdk.jmh.jmh.generator.annprocess) - testImplementation(project(":flexmark-core-test")) - testImplementation(project(":flexmark-test-specs")) -} - -description = "flexmark-java integration tests" diff --git a/flexmark-jira-converter/build.gradle.kts b/flexmark-jira-converter/build.gradle.kts deleted file mode 100644 index 21fd56e4e..000000000 --- a/flexmark-jira-converter/build.gradle.kts +++ /dev/null @@ -1,21 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark-util")) - api(project(":flexmark-ext-gfm-strikethrough")) - api(project(":flexmark-ext-tables")) - api(project(":flexmark-ext-wikilink")) - api(project(":flexmark-ext-ins")) - api(project(":flexmark-ext-superscript")) - api(project(":flexmark")) - testImplementation(project(":flexmark-test-util")) - testImplementation(project(":flexmark-core-test")) -} - -description = "flexmark-java extension for jira_converter" diff --git a/flexmark-osgi/build.gradle.kts b/flexmark-osgi/build.gradle.kts deleted file mode 100644 index 59c69eac6..000000000 --- a/flexmark-osgi/build.gradle.kts +++ /dev/null @@ -1,58 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark")) - api(project(":flexmark-ext-abbreviation")) - api(project(":flexmark-ext-admonition")) - api(project(":flexmark-ext-anchorlink")) - api(project(":flexmark-ext-aside")) - api(project(":flexmark-ext-attributes")) - api(project(":flexmark-ext-autolink")) - api(project(":flexmark-ext-definition")) - api(project(":flexmark-ext-emoji")) - api(project(":flexmark-ext-enumerated-reference")) - api(project(":flexmark-ext-escaped-character")) - api(project(":flexmark-ext-footnotes")) - api(project(":flexmark-ext-gfm-issues")) - api(project(":flexmark-ext-gfm-strikethrough")) - api(project(":flexmark-ext-gfm-tasklist")) - api(project(":flexmark-ext-gfm-users")) - api(project(":flexmark-ext-gitlab")) - api(project(":flexmark-ext-jekyll-front-matter")) - api(project(":flexmark-ext-jekyll-tag")) - api(project(":flexmark-ext-media-tags")) - api(project(":flexmark-ext-resizable-image")) - api(project(":flexmark-ext-ins")) - api(project(":flexmark-ext-xwiki-macros")) - api(project(":flexmark-ext-superscript")) - api(project(":flexmark-ext-tables")) - api(project(":flexmark-ext-toc")) - api(project(":flexmark-ext-typographic")) - api(project(":flexmark-ext-wikilink")) - api(project(":flexmark-ext-yaml-front-matter")) - api(project(":flexmark-ext-youtube-embedded")) - api(project(":flexmark-html2md-converter")) - api(project(":flexmark-jira-converter")) - api(project(":flexmark-profile-pegdown")) - api(project(":flexmark-util")) - api(project(":flexmark-util-ast")) - api(project(":flexmark-util-builder")) - api(project(":flexmark-util-collection")) - api(project(":flexmark-util-data")) - api(project(":flexmark-util-dependency")) - api(project(":flexmark-util-format")) - api(project(":flexmark-util-html")) - api(project(":flexmark-util-misc")) - api(project(":flexmark-util-options")) - api(project(":flexmark-util-sequence")) - api(project(":flexmark-util-visitor")) - api(project(":flexmark-youtrack-converter")) -} - -description = "flexmark-osgi" diff --git a/flexmark-pdf-converter/build.gradle.kts b/flexmark-pdf-converter/build.gradle.kts deleted file mode 100644 index d0c9b0833..000000000 --- a/flexmark-pdf-converter/build.gradle.kts +++ /dev/null @@ -1,20 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark-util")) - api(project(":flexmark")) - api(libs.org.jsoup.jsoup) - api(libs.com.ibm.icu.icu4j) - api(libs.com.openhtmltopdf.openhtmltopdf.core) - api(libs.com.openhtmltopdf.openhtmltopdf.pdfbox) - api(libs.com.openhtmltopdf.openhtmltopdf.rtl.support) - testImplementation(project(":flexmark-test-util")) -} - -description = "flexmark-java extension for markdown to pdf conversion" diff --git a/flexmark-profile-pegdown/build.gradle.kts b/flexmark-profile-pegdown/build.gradle.kts deleted file mode 100644 index b972b37f0..000000000 --- a/flexmark-profile-pegdown/build.gradle.kts +++ /dev/null @@ -1,37 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark")) - api(project(":flexmark-ext-abbreviation")) - api(project(":flexmark-ext-anchorlink")) - api(project(":flexmark-ext-aside")) - api(project(":flexmark-ext-autolink")) - api(project(":flexmark-ext-definition")) - api(project(":flexmark-ext-emoji")) - api(project(":flexmark-ext-escaped-character")) - api(project(":flexmark-ext-footnotes")) - api(project(":flexmark-ext-gfm-strikethrough")) - api(project(":flexmark-ext-gfm-tasklist")) - api(project(":flexmark-ext-ins")) - api(project(":flexmark-ext-jekyll-front-matter")) - api(project(":flexmark-ext-superscript")) - api(project(":flexmark-ext-tables")) - api(project(":flexmark-ext-toc")) - api(project(":flexmark-ext-typographic")) - api(project(":flexmark-ext-wikilink")) - api(project(":flexmark-util-ast")) - api(project(":flexmark-util-data")) - api(project(":flexmark-util-misc")) - api(project(":flexmark-util-sequence")) - testImplementation(project(":flexmark-test-util")) - testImplementation(project(":flexmark-core-test")) - testImplementation(libs.org.pegdown.pegdown) -} - -description = "flexmark-java pegdown profile" diff --git a/flexmark-profile-pegdown/src/test/java/com/vladsch/flexmark/profile/pegdown/ComboPegdownSpecTest.java b/flexmark-profile-pegdown/src/test/java/com/vladsch/flexmark/profile/pegdown/ComboPegdownSpecTest.java index 85ae55a20..54a89509c 100644 --- a/flexmark-profile-pegdown/src/test/java/com/vladsch/flexmark/profile/pegdown/ComboPegdownSpecTest.java +++ b/flexmark-profile-pegdown/src/test/java/com/vladsch/flexmark/profile/pegdown/ComboPegdownSpecTest.java @@ -9,11 +9,19 @@ import com.vladsch.flexmark.util.data.MutableDataSet; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; +import org.junit.Assume; +import org.junit.BeforeClass; import org.junit.runners.Parameterized; import java.util.List; public class ComboPegdownSpecTest extends ComboSpecTestCase { + @BeforeClass + public static void assumeJava8() { + Assume.assumeTrue("Parboiled is incompatible with Java 9+, skipping tests", + System.getProperty("java.specification.version").startsWith("1.")); + } + final private static String SPEC_RESOURCE = "/pegdown_spec.md"; final public static @NotNull ResourceLocation RESOURCE_LOCATION = ResourceLocation.of(SPEC_RESOURCE); final private static DataHolder OPTIONS = new MutableDataSet() diff --git a/flexmark-test-specs/build.gradle.kts b/flexmark-test-specs/build.gradle.kts deleted file mode 100644 index f556228c7..000000000 --- a/flexmark-test-specs/build.gradle.kts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark-test-util")) - api(libs.org.jetbrains.annotations) -} - -description = "flexmark-java test spec files" diff --git a/flexmark-test-util/build.gradle.kts b/flexmark-test-util/build.gradle.kts deleted file mode 100644 index 14dad3041..000000000 --- a/flexmark-test-util/build.gradle.kts +++ /dev/null @@ -1,19 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark-util-misc")) - api(project(":flexmark-util-data")) - api(project(":flexmark-util-ast")) - api(project(":flexmark-util-format")) - api(project(":flexmark-util-sequence")) - api(libs.junit.junit) - api(libs.org.jetbrains.annotations) -} - -description = "flexmark-java test utilities" diff --git a/flexmark-test-util/src/main/java/com/vladsch/flexmark/test/util/ComboSpecTestCase.java b/flexmark-test-util/src/main/java/com/vladsch/flexmark/test/util/ComboSpecTestCase.java index 1ce74de84..ff6d762b0 100644 --- a/flexmark-test-util/src/main/java/com/vladsch/flexmark/test/util/ComboSpecTestCase.java +++ b/flexmark-test-util/src/main/java/com/vladsch/flexmark/test/util/ComboSpecTestCase.java @@ -11,7 +11,6 @@ import com.vladsch.flexmark.util.format.options.ElementPlacementSort; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; -import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; @@ -96,7 +95,6 @@ public DataHolder options(@NotNull String option) { } @Test - @Ignore public void testSpecExample() { if (example.isFullSpecExample()) { super.testSpecExample(); diff --git a/flexmark-tree-iteration/build.gradle.kts b/flexmark-tree-iteration/build.gradle.kts deleted file mode 100644 index a4a732afa..000000000 --- a/flexmark-tree-iteration/build.gradle.kts +++ /dev/null @@ -1,18 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(libs.org.jetbrains.annotations) - api(project(":flexmark-util-ast")) - api(project(":flexmark-util-data")) - api(project(":flexmark-util-collection")) - api(libs.org.slf4j.slf4j.api) - testImplementation(project(":flexmark-test-util")) -} - -description = "flexmark-java library for recursive tree iteration" diff --git a/flexmark-util-ast/build.gradle.kts b/flexmark-util-ast/build.gradle.kts deleted file mode 100644 index 70df4d275..000000000 --- a/flexmark-util-ast/build.gradle.kts +++ /dev/null @@ -1,19 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark-util-collection")) - api(project(":flexmark-util-misc")) - api(project(":flexmark-util-data")) - api(project(":flexmark-util-sequence")) - api(project(":flexmark-util-visitor")) - api(libs.org.jetbrains.annotations) - testImplementation(libs.junit.junit) -} - -description = "flexmark-java ast utilities" diff --git a/flexmark-util-builder/build.gradle.kts b/flexmark-util-builder/build.gradle.kts deleted file mode 100644 index 3ceb12d7c..000000000 --- a/flexmark-util-builder/build.gradle.kts +++ /dev/null @@ -1,16 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark-util-misc")) - api(project(":flexmark-util-data")) - api(libs.org.jetbrains.annotations) - testImplementation(libs.junit.junit) -} - -description = "flexmark-java builder utilities" diff --git a/flexmark-util-collection/build.gradle.kts b/flexmark-util-collection/build.gradle.kts deleted file mode 100644 index b7e03f3b3..000000000 --- a/flexmark-util-collection/build.gradle.kts +++ /dev/null @@ -1,15 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark-util-misc")) - api(libs.org.jetbrains.annotations) - testImplementation(libs.junit.junit) -} - -description = "flexmark-java collection utilities" diff --git a/flexmark-util-data/build.gradle.kts b/flexmark-util-data/build.gradle.kts deleted file mode 100644 index 90d102a67..000000000 --- a/flexmark-util-data/build.gradle.kts +++ /dev/null @@ -1,15 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark-util-misc")) - api(libs.org.jetbrains.annotations) - testImplementation(libs.junit.junit) -} - -description = "flexmark-java data utilities" diff --git a/flexmark-util-dependency/build.gradle.kts b/flexmark-util-dependency/build.gradle.kts deleted file mode 100644 index 51483d99f..000000000 --- a/flexmark-util-dependency/build.gradle.kts +++ /dev/null @@ -1,17 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark-util-collection")) - api(project(":flexmark-util-misc")) - api(project(":flexmark-util-data")) - api(libs.org.jetbrains.annotations) - testImplementation(libs.junit.junit) -} - -description = "flexmark-java dependency utilities" diff --git a/flexmark-util-experimental/build.gradle.kts b/flexmark-util-experimental/build.gradle.kts deleted file mode 100644 index b9ddd1bd4..000000000 --- a/flexmark-util-experimental/build.gradle.kts +++ /dev/null @@ -1,20 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark-util-ast")) - api(project(":flexmark-util-data")) - api(project(":flexmark-util-misc")) - api(project(":flexmark-util-collection")) - api(project(":flexmark-util-sequence")) - api(libs.org.jetbrains.annotations) - testImplementation(project(":flexmark-test-util")) - testImplementation(libs.junit.junit) -} - -description = "flexmark-java experimental utility classes" diff --git a/flexmark-util-format/build.gradle.kts b/flexmark-util-format/build.gradle.kts deleted file mode 100644 index 74e104aa5..000000000 --- a/flexmark-util-format/build.gradle.kts +++ /dev/null @@ -1,20 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark-util-ast")) - api(project(":flexmark-util-collection")) - api(project(":flexmark-util-data")) - api(project(":flexmark-util-html")) - api(project(":flexmark-util-misc")) - api(project(":flexmark-util-sequence")) - api(libs.org.jetbrains.annotations) - testImplementation(libs.junit.junit) -} - -description = "flexmark-java format utilities" diff --git a/flexmark-util-html/build.gradle.kts b/flexmark-util-html/build.gradle.kts deleted file mode 100644 index b7a601568..000000000 --- a/flexmark-util-html/build.gradle.kts +++ /dev/null @@ -1,16 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark-util-misc")) - api(project(":flexmark-util-sequence")) - api(libs.org.jetbrains.annotations) - testImplementation(libs.junit.junit) -} - -description = "flexmark-java html utilities" diff --git a/flexmark-util-misc/build.gradle.kts b/flexmark-util-misc/build.gradle.kts deleted file mode 100644 index 54534746d..000000000 --- a/flexmark-util-misc/build.gradle.kts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(libs.org.jetbrains.annotations) - testImplementation(libs.junit.junit) -} - -description = "flexmark-java misc utilities" diff --git a/flexmark-util-options/build.gradle.kts b/flexmark-util-options/build.gradle.kts deleted file mode 100644 index 41b31c6b3..000000000 --- a/flexmark-util-options/build.gradle.kts +++ /dev/null @@ -1,16 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark-util-misc")) - api(project(":flexmark-util-sequence")) - api(libs.org.jetbrains.annotations) - testImplementation(libs.junit.junit) -} - -description = "flexmark-java options utilities" diff --git a/flexmark-util-sequence/build.gradle.kts b/flexmark-util-sequence/build.gradle.kts deleted file mode 100644 index 6c905630a..000000000 --- a/flexmark-util-sequence/build.gradle.kts +++ /dev/null @@ -1,17 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark-util-collection")) - api(project(":flexmark-util-data")) - api(project(":flexmark-util-misc")) - api(libs.org.jetbrains.annotations) - testImplementation(libs.junit.junit) -} - -description = "flexmark-java sequence utilities" diff --git a/flexmark-util-visitor/build.gradle.kts b/flexmark-util-visitor/build.gradle.kts deleted file mode 100644 index 84af91f60..000000000 --- a/flexmark-util-visitor/build.gradle.kts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(libs.org.jetbrains.annotations) - testImplementation(libs.junit.junit) -} - -description = "flexmark-java visitor utilities" diff --git a/flexmark-util/build.gradle.kts b/flexmark-util/build.gradle.kts deleted file mode 100644 index f08a958e2..000000000 --- a/flexmark-util/build.gradle.kts +++ /dev/null @@ -1,25 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark-util-ast")) - api(project(":flexmark-util-builder")) - api(project(":flexmark-util-collection")) - api(project(":flexmark-util-data")) - api(project(":flexmark-util-dependency")) - api(project(":flexmark-util-format")) - api(project(":flexmark-util-html")) - api(project(":flexmark-util-misc")) - api(project(":flexmark-util-options")) - api(project(":flexmark-util-sequence")) - api(project(":flexmark-util-visitor")) - api(libs.org.jetbrains.annotations) - testImplementation(libs.junit.junit) -} - -description = "flexmark-java utilities" diff --git a/flexmark-util/src/test/java/com/vladsch/flexmark/util/misc/UtilsTest.java b/flexmark-util/src/test/java/com/vladsch/flexmark/util/misc/UtilsTest.java index 6b430442d..dfdc12313 100644 --- a/flexmark-util/src/test/java/com/vladsch/flexmark/util/misc/UtilsTest.java +++ b/flexmark-util/src/test/java/com/vladsch/flexmark/util/misc/UtilsTest.java @@ -2,7 +2,6 @@ import com.vladsch.flexmark.util.sequence.SequenceUtils; import org.junit.Assert; -import org.junit.Ignore; import org.junit.Rule; import org.junit.Test; import org.junit.rules.ExpectedException; @@ -256,7 +255,6 @@ public void testWrapWith() { } @Test - @Ignore public void test_parseNumberOrNull() { assertEquals(null, SequenceUtils.parseNumberOrNull("0x0001.")); assertEquals(null, SequenceUtils.parseNumberOrNull("01234567 ")); diff --git a/flexmark-util/src/test/java/com/vladsch/flexmark/util/sequence/builder/SegmentedSequenceStatsTest.java b/flexmark-util/src/test/java/com/vladsch/flexmark/util/sequence/builder/SegmentedSequenceStatsTest.java index 46e826551..f2570a3d6 100644 --- a/flexmark-util/src/test/java/com/vladsch/flexmark/util/sequence/builder/SegmentedSequenceStatsTest.java +++ b/flexmark-util/src/test/java/com/vladsch/flexmark/util/sequence/builder/SegmentedSequenceStatsTest.java @@ -4,14 +4,30 @@ import com.vladsch.flexmark.util.sequence.BasedOptionsHolder; import com.vladsch.flexmark.util.sequence.BasedOptionsSequence; import com.vladsch.flexmark.util.sequence.BasedSequence; -import org.junit.Ignore; +import org.junit.AfterClass; +import org.junit.BeforeClass; import org.junit.Test; +import java.util.Locale; + import static org.junit.Assert.assertEquals; public class SegmentedSequenceStatsTest { + private static Locale savedLocale; + + @BeforeClass + public static void setLocale() { + savedLocale = Locale.getDefault(); + Locale.setDefault(Locale.ENGLISH); + } + + @AfterClass + public static void restoreLocale() { + Locale.setDefault(savedLocale); + } + + @Test - @Ignore public void basic_stats() { SegmentedSequenceStats stats = SegmentedSequenceStats.getInstance(); @@ -43,7 +59,6 @@ public void basic_stats() { } @Test - @Ignore public void basic_statsCollection() { final String sC = "0123456789"; MutableDataSet options = new MutableDataSet(); @@ -68,7 +83,6 @@ public void basic_statsCollection() { } @Test - @Ignore public void aggregatedStatsBuckets() { SegmentedSequenceStats stats = SegmentedSequenceStats.getInstance(); @@ -95,7 +109,6 @@ public void aggregatedStatsBuckets() { } @Test - @Ignore public void aggregatedStatsNonBased() { SegmentedSequenceStats stats = SegmentedSequenceStats.getInstance(); @@ -120,7 +133,6 @@ public void aggregatedStatsNonBased() { } @Test - @Ignore public void aggregatedStatsSegments() { SegmentedSequenceStats stats = SegmentedSequenceStats.getInstance(); @@ -145,7 +157,6 @@ public void aggregatedStatsSegments() { } @Test - @Ignore public void aggregatedStatsLength() { SegmentedSequenceStats stats = SegmentedSequenceStats.getInstance(); @@ -170,7 +181,6 @@ public void aggregatedStatsLength() { } @Test - @Ignore public void aggregatedStatsOverhead() { SegmentedSequenceStats stats = SegmentedSequenceStats.getInstance(); diff --git a/flexmark-youtrack-converter/build.gradle.kts b/flexmark-youtrack-converter/build.gradle.kts deleted file mode 100644 index 7506a43a0..000000000 --- a/flexmark-youtrack-converter/build.gradle.kts +++ /dev/null @@ -1,18 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark-util")) - api(project(":flexmark")) - api(project(":flexmark-ext-gfm-strikethrough")) - api(project(":flexmark-ext-tables")) - testImplementation(project(":flexmark-test-util")) - testImplementation(project(":flexmark-core-test")) -} - -description = "flexmark-java extension for YouTrack conversion" diff --git a/flexmark/build.gradle.kts b/flexmark/build.gradle.kts deleted file mode 100644 index 288635e93..000000000 --- a/flexmark/build.gradle.kts +++ /dev/null @@ -1,29 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -plugins { - id("buildlogic.java-conventions") -} - -dependencies { - api(project(":flexmark-util-ast")) - api(project(":flexmark-util-builder")) - api(project(":flexmark-util-collection")) - api(project(":flexmark-util-data")) - api(project(":flexmark-util-dependency")) - api(project(":flexmark-util-format")) - api(project(":flexmark-util-html")) - api(project(":flexmark-util-misc")) - api(project(":flexmark-util-sequence")) - api(project(":flexmark-util-visitor")) - testImplementation(project(":flexmark-test-util")) - testImplementation(project(":flexmark-test-specs")) - testImplementation(libs.org.openjdk.jmh.jmh.core) - testImplementation(libs.org.openjdk.jmh.jmh.generator.annprocess) - testImplementation(libs.org.apache.logging.log4j.log4j.api) - testImplementation(libs.org.apache.logging.log4j.log4j.core) - testImplementation(libs.org.apache.logging.log4j.log4j.v1.v2.api) -} - -description = "flexmark-java core" diff --git a/gradle.properties b/gradle.properties deleted file mode 100644 index 78a5d8caf..000000000 --- a/gradle.properties +++ /dev/null @@ -1,6 +0,0 @@ -# This file was generated by the Gradle 'init' task. -# https://docs.gradle.org/current/userguide/build_environment.html#sec:gradle_configuration_properties - -org.gradle.configuration-cache=true -org.gradle.jvmargs=-Duser.language=en -Duser.country=US -Dfile.encoding=UTF-8 - diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml deleted file mode 100644 index 4fdfe4391..000000000 --- a/gradle/libs.versions.toml +++ /dev/null @@ -1,42 +0,0 @@ -# This file was generated by the Gradle 'init' task. -# https://docs.gradle.org/current/userguide/platforms.html#sub::toml-dependencies-format - -[versions] -com-ibm-icu-icu4j = "72.1" -com-openhtmltopdf-openhtmltopdf-core = "1.0.10" -com-openhtmltopdf-openhtmltopdf-pdfbox = "1.0.10" -com-openhtmltopdf-openhtmltopdf-rtl-support = "1.0.10" -commons-io-commons-io = "2.11.0" -junit-junit = "4.13.2" -org-apache-logging-log4j-log4j-api = "2.20.0" -org-apache-logging-log4j-log4j-core = "2.20.0" -org-apache-logging-log4j-log4j-v1-v2-api = "2.20.0" -org-apache-xmlgraphics-xmlgraphics-commons = "2.7" -org-docx4j-docx4j-jaxb-referenceimpl = "11.4.9" -org-jetbrains-annotations = "24.0.1" -org-jsoup-jsoup = "1.15.4" -org-nibor-autolink-autolink = "0.6.0" -org-openjdk-jmh-jmh-core = "1.13" -org-openjdk-jmh-jmh-generator-annprocess = "1.13" -org-pegdown-pegdown = "1.6.0" -org-slf4j-slf4j-api = "1.7.26" - -[libraries] -com-ibm-icu-icu4j = { module = "com.ibm.icu:icu4j", version.ref = "com-ibm-icu-icu4j" } -com-openhtmltopdf-openhtmltopdf-core = { module = "com.openhtmltopdf:openhtmltopdf-core", version.ref = "com-openhtmltopdf-openhtmltopdf-core" } -com-openhtmltopdf-openhtmltopdf-pdfbox = { module = "com.openhtmltopdf:openhtmltopdf-pdfbox", version.ref = "com-openhtmltopdf-openhtmltopdf-pdfbox" } -com-openhtmltopdf-openhtmltopdf-rtl-support = { module = "com.openhtmltopdf:openhtmltopdf-rtl-support", version.ref = "com-openhtmltopdf-openhtmltopdf-rtl-support" } -commons-io-commons-io = { module = "commons-io:commons-io", version.ref = "commons-io-commons-io" } -junit-junit = { module = "junit:junit", version.ref = "junit-junit" } -org-apache-logging-log4j-log4j-api = { module = "org.apache.logging.log4j:log4j-api", version.ref = "org-apache-logging-log4j-log4j-api" } -org-apache-logging-log4j-log4j-core = { module = "org.apache.logging.log4j:log4j-core", version.ref = "org-apache-logging-log4j-log4j-core" } -org-apache-logging-log4j-log4j-v1-v2-api = { module = "org.apache.logging.log4j:log4j-1.2-api", version.ref = "org-apache-logging-log4j-log4j-v1-v2-api" } -org-apache-xmlgraphics-xmlgraphics-commons = { module = "org.apache.xmlgraphics:xmlgraphics-commons", version.ref = "org-apache-xmlgraphics-xmlgraphics-commons" } -org-docx4j-docx4j-jaxb-referenceimpl = { module = "org.docx4j:docx4j-JAXB-ReferenceImpl", version.ref = "org-docx4j-docx4j-jaxb-referenceimpl" } -org-jetbrains-annotations = { module = "org.jetbrains:annotations", version.ref = "org-jetbrains-annotations" } -org-jsoup-jsoup = { module = "org.jsoup:jsoup", version.ref = "org-jsoup-jsoup" } -org-nibor-autolink-autolink = { module = "org.nibor.autolink:autolink", version.ref = "org-nibor-autolink-autolink" } -org-openjdk-jmh-jmh-core = { module = "org.openjdk.jmh:jmh-core", version.ref = "org-openjdk-jmh-jmh-core" } -org-openjdk-jmh-jmh-generator-annprocess = { module = "org.openjdk.jmh:jmh-generator-annprocess", version.ref = "org-openjdk-jmh-jmh-generator-annprocess" } -org-pegdown-pegdown = { module = "org.pegdown:pegdown", version.ref = "org-pegdown-pegdown" } -org-slf4j-slf4j-api = { module = "org.slf4j:slf4j-api", version.ref = "org-slf4j-slf4j-api" } diff --git a/gradle/wrapper/gradle-wrapper.jar b/gradle/wrapper/gradle-wrapper.jar deleted file mode 100644 index 1b33c55ba..000000000 Binary files a/gradle/wrapper/gradle-wrapper.jar and /dev/null differ diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties deleted file mode 100644 index ca025c83a..000000000 --- a/gradle/wrapper/gradle-wrapper.properties +++ /dev/null @@ -1,7 +0,0 @@ -distributionBase=GRADLE_USER_HOME -distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-8.14-bin.zip -networkTimeout=10000 -validateDistributionUrl=true -zipStoreBase=GRADLE_USER_HOME -zipStorePath=wrapper/dists diff --git a/gradlew b/gradlew deleted file mode 100755 index 23d15a936..000000000 --- a/gradlew +++ /dev/null @@ -1,251 +0,0 @@ -#!/bin/sh - -# -# Copyright © 2015-2021 the original authors. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# SPDX-License-Identifier: Apache-2.0 -# - -############################################################################## -# -# Gradle start up script for POSIX generated by Gradle. -# -# Important for running: -# -# (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is -# noncompliant, but you have some other compliant shell such as ksh or -# bash, then to run this script, type that shell name before the whole -# command line, like: -# -# ksh Gradle -# -# Busybox and similar reduced shells will NOT work, because this script -# requires all of these POSIX shell features: -# * functions; -# * expansions «$var», «${var}», «${var:-default}», «${var+SET}», -# «${var#prefix}», «${var%suffix}», and «$( cmd )»; -# * compound commands having a testable exit status, especially «case»; -# * various built-in commands including «command», «set», and «ulimit». -# -# Important for patching: -# -# (2) This script targets any POSIX shell, so it avoids extensions provided -# by Bash, Ksh, etc; in particular arrays are avoided. -# -# The "traditional" practice of packing multiple parameters into a -# space-separated string is a well documented source of bugs and security -# problems, so this is (mostly) avoided, by progressively accumulating -# options in "$@", and eventually passing that to Java. -# -# Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS, -# and GRADLE_OPTS) rely on word-splitting, this is performed explicitly; -# see the in-line comments for details. -# -# There are tweaks for specific operating systems such as AIX, CygWin, -# Darwin, MinGW, and NonStop. -# -# (3) This script is generated from the Groovy template -# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt -# within the Gradle project. -# -# You can find Gradle at https://github.com/gradle/gradle/. -# -############################################################################## - -# Attempt to set APP_HOME - -# Resolve links: $0 may be a link -app_path=$0 - -# Need this for daisy-chained symlinks. -while - APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path - [ -h "$app_path" ] -do - ls=$( ls -ld "$app_path" ) - link=${ls#*' -> '} - case $link in #( - /*) app_path=$link ;; #( - *) app_path=$APP_HOME$link ;; - esac -done - -# This is normally unused -# shellcheck disable=SC2034 -APP_BASE_NAME=${0##*/} -# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) -APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s\n' "$PWD" ) || exit - -# Use the maximum available, or set MAX_FD != -1 to use that value. -MAX_FD=maximum - -warn () { - echo "$*" -} >&2 - -die () { - echo - echo "$*" - echo - exit 1 -} >&2 - -# OS specific support (must be 'true' or 'false'). -cygwin=false -msys=false -darwin=false -nonstop=false -case "$( uname )" in #( - CYGWIN* ) cygwin=true ;; #( - Darwin* ) darwin=true ;; #( - MSYS* | MINGW* ) msys=true ;; #( - NONSTOP* ) nonstop=true ;; -esac - -CLASSPATH="\\\"\\\"" - - -# Determine the Java command to use to start the JVM. -if [ -n "$JAVA_HOME" ] ; then - if [ -x "$JAVA_HOME/jre/sh/java" ] ; then - # IBM's JDK on AIX uses strange locations for the executables - JAVACMD=$JAVA_HOME/jre/sh/java - else - JAVACMD=$JAVA_HOME/bin/java - fi - if [ ! -x "$JAVACMD" ] ; then - die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME - -Please set the JAVA_HOME variable in your environment to match the -location of your Java installation." - fi -else - JAVACMD=java - if ! command -v java >/dev/null 2>&1 - then - die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. - -Please set the JAVA_HOME variable in your environment to match the -location of your Java installation." - fi -fi - -# Increase the maximum file descriptors if we can. -if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then - case $MAX_FD in #( - max*) - # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked. - # shellcheck disable=SC2039,SC3045 - MAX_FD=$( ulimit -H -n ) || - warn "Could not query maximum file descriptor limit" - esac - case $MAX_FD in #( - '' | soft) :;; #( - *) - # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked. - # shellcheck disable=SC2039,SC3045 - ulimit -n "$MAX_FD" || - warn "Could not set maximum file descriptor limit to $MAX_FD" - esac -fi - -# Collect all arguments for the java command, stacking in reverse order: -# * args from the command line -# * the main class name -# * -classpath -# * -D...appname settings -# * --module-path (only if needed) -# * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables. - -# For Cygwin or MSYS, switch paths to Windows format before running java -if "$cygwin" || "$msys" ; then - APP_HOME=$( cygpath --path --mixed "$APP_HOME" ) - CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" ) - - JAVACMD=$( cygpath --unix "$JAVACMD" ) - - # Now convert the arguments - kludge to limit ourselves to /bin/sh - for arg do - if - case $arg in #( - -*) false ;; # don't mess with options #( - /?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath - [ -e "$t" ] ;; #( - *) false ;; - esac - then - arg=$( cygpath --path --ignore --mixed "$arg" ) - fi - # Roll the args list around exactly as many times as the number of - # args, so each arg winds up back in the position where it started, but - # possibly modified. - # - # NB: a `for` loop captures its iteration list before it begins, so - # changing the positional parameters here affects neither the number of - # iterations, nor the values presented in `arg`. - shift # remove old arg - set -- "$@" "$arg" # push replacement arg - done -fi - - -# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. -DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' - -# Collect all arguments for the java command: -# * DEFAULT_JVM_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments, -# and any embedded shellness will be escaped. -# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be -# treated as '${Hostname}' itself on the command line. - -set -- \ - "-Dorg.gradle.appname=$APP_BASE_NAME" \ - -classpath "$CLASSPATH" \ - -jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \ - "$@" - -# Stop when "xargs" is not available. -if ! command -v xargs >/dev/null 2>&1 -then - die "xargs is not available" -fi - -# Use "xargs" to parse quoted args. -# -# With -n1 it outputs one arg per line, with the quotes and backslashes removed. -# -# In Bash we could simply go: -# -# readarray ARGS < <( xargs -n1 <<<"$var" ) && -# set -- "${ARGS[@]}" "$@" -# -# but POSIX shell has neither arrays nor command substitution, so instead we -# post-process each arg (as a line of input to sed) to backslash-escape any -# character that might be a shell metacharacter, then use eval to reverse -# that process (while maintaining the separation between arguments), and wrap -# the whole thing up as a single "set" statement. -# -# This will of course break if any of these variables contains a newline or -# an unmatched quote. -# - -eval "set -- $( - printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" | - xargs -n1 | - sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' | - tr '\n' ' ' - )" '"$@"' - -exec "$JAVACMD" "$@" diff --git a/settings.gradle.kts b/settings.gradle.kts deleted file mode 100644 index 35a5bf160..000000000 --- a/settings.gradle.kts +++ /dev/null @@ -1,64 +0,0 @@ -/* - * This file was generated by the Gradle 'init' task. - */ - -rootProject.name = "flexmark-java" -include(":flexmark-ext-attributes") -include(":flexmark-all") -include(":flexmark-util-options") -include(":flexmark-ext-definition") -include(":flexmark-ext-macros") -include(":flexmark-util-dependency") -include(":flexmark-util-visitor") -include(":flexmark-test-specs") -include(":flexmark-util-experimental") -include(":flexmark-profile-pegdown") -include(":flexmark-util-html") -include(":flexmark-ext-gfm-tasklist") -include(":flexmark-osgi") -include(":flexmark-ext-media-tags") -include(":flexmark-ext-youtube-embedded") -include(":flexmark-ext-footnotes") -include(":flexmark-ext-enumerated-reference") -include(":flexmark-ext-spec-example") -include(":flexmark-ext-gitlab") -include(":flexmark-docx-converter") -include(":flexmark-pdf-converter") -include(":flexmark-ext-autolink") -include(":flexmark-ext-typographic") -include(":flexmark-jira-converter") -include(":flexmark-util-collection") -include(":flexmark-html2md-converter") -include(":flexmark-ext-gfm-issues") -include(":flexmark-ext-anchorlink") -include(":flexmark-ext-superscript") -include(":flexmark-integration-test") -include(":flexmark-ext-jekyll-front-matter") -include(":flexmark-ext-toc") -include(":flexmark-util-builder") -include(":flexmark-util-data") -include(":flexmark-ext-ins") -include(":flexmark-ext-xwiki-macros") -include(":flexmark-util-ast") -include(":flexmark-ext-abbreviation") -include(":flexmark-util-misc") -include(":flexmark-youtrack-converter") -include(":flexmark-util") -include(":flexmark-ext-resizable-image") -include(":flexmark-core-test") -include(":flexmark-test-util") -include(":flexmark-ext-tables") -include(":flexmark-ext-wikilink") -include(":flexmark-ext-emoji") -include(":flexmark-ext-admonition") -include(":flexmark-ext-yaml-front-matter") -include(":flexmark-util-sequence") -include(":flexmark-ext-gfm-strikethrough") -include(":flexmark-ext-gfm-users") -include(":flexmark-tree-iteration") -include(":flexmark") -include(":flexmark-ext-zzzzzz") -include(":flexmark-ext-aside") -include(":flexmark-util-format") -include(":flexmark-ext-escaped-character") -include(":flexmark-ext-jekyll-tag")