--- aliases: - jandex tags: - maturity/🌱 date: 2023-10-21 zero-link: - "[[../../meta/zero/00 Gradle|00 Gradle]]" - "[[../../meta/zero/00 Maven|00 Maven]]" parents: linked: - "[[../../meta/zero/00 Quarkus|00 Quarkus]]" --- Бтолкнулся с Ρ‚Π°ΠΊΠΎΠΉ ΠΏΡ€ΠΎΠ±Π»Π΅ΠΌΠΎΠΉ ΠΏΡ€ΠΈ использовании [[../../meta/zero/00 Quarkus|Quarkus]]. [[../../meta/zero/00 Gradle|Gradle]] ΠΏΡ€ΠΎΠ΅ΠΊΡ‚, ΠΊΠΎΡ‚ΠΎΡ€Ρ‹ΠΉ состоит ΠΈΠ· Π½Π΅ΡΠΊΠΎΠ»ΡŒΠΊΠΈΡ… ΠΌΠΎΠ΄ΡƒΠ»Π΅ΠΉ ΡƒΡΠΏΠ΅ΡˆΠ½ΠΎ собирался, Π½ΠΎ Π±ΠΈΠ½Ρ‹ ΠΈΠ· ΠΎΠ΄Π½ΠΎΠ³ΠΎ модуля Π½Π΅ ΠΎΠ±Π½Π°Ρ€ΡƒΠΆΠΈΠ²Π°Π»ΠΈΡΡŒ Π² Π΄Ρ€ΡƒΠ³ΠΎΠΌ. Π’Π° ΠΆΠ΅ ΠΏΡ€ΠΎΠ±Π»Π΅ΠΌΠ° Π±ΡƒΠ΄Π΅Ρ‚ ΠΈ с [[../../meta/zero/00 Maven|Maven]]. ΠŸΡ€ΠΎΠ±Π»Π΅ΠΌΠ° Ρ€Π΅ΡˆΠΈΠ»Π°ΡΡŒ с ΠΏΠΎΠΌΠΎΡ‰ΡŒΡŽ ΠΏΠ»Π°Π³ΠΈΠ½Π°: [Jandex](https://github.com/kordamp/jandex-gradle-plugin). ΠŸΡ€ΠΈΠΌΠ΅Ρ€ настройки Π² ΠΊΠΎΡ€Π½Π΅Π²ΠΎΠΌ `build.gradle` ```gradle buildscript { repositories { gradlePluginPortal() mavenCentral() } dependencies { classpath 'org.kordamp.gradle:jandex-gradle-plugin:1.0.0' } } apply plugin: "org.kordamp.gradle.jandex" subprojects { tasks.withType(Javadoc).configureEach { dependsOn('jandex') options.encoding = 'UTF-8' options.addStringOption("Xdoclint:none", "-quiet") } } allprojects { tasks.matching { task -> task.name in ['quarkusDependenciesBuild'] }.configureEach { dependsOn 'jandex' } } ``` ΠŸΡ€ΠΈΠΌΠ΅Ρ€ настройки Π² ΠΊΠΎΡ€Π½Π΅Π²ΠΎΠΌ `pom.xml` - [Maven Repository: io.smallrye Β» jandex](https://mvnrepository.com/artifact/io.smallrye/jandex) ```xml io.smallrye jandex-maven-plugin 3.1.6 make-index jandex ``` *** ## ΠœΠ΅Ρ‚Π° информация **ΠžΠ±Π»Π°ΡΡ‚ΡŒ**:: [[../../meta/zero/00 Maven|00 Maven]], [[../../meta/zero/00 Gradle|00 Gradle]] **Π ΠΎΠ΄ΠΈΡ‚Π΅Π»ΡŒ**:: **Π˜ΡΡ‚ΠΎΡ‡Π½ΠΈΠΊ**:: **Автор**:: **Π‘ΠΎΠ·Π΄Π°Π½Π°**:: [[2023-10-21]] ### Π”ΠΎΠΏΠΎΠ»Π½ΠΈΡ‚Π΅Π»ΡŒΠ½Ρ‹Π΅ ΠΌΠ°Ρ‚Π΅Ρ€ΠΈΠ°Π»Ρ‹ - ### Π”ΠΎΡ‡Π΅Ρ€Π½ΠΈΠ΅ Π·Π°ΠΌΠ΅Ρ‚ΠΊΠΈ ```dataview LIST FROM [[]] WHERE contains(Π ΠΎΠ΄ΠΈΡ‚Π΅Π»ΡŒ, this.file.link) or contains(parents, this.file.link) ```