--- 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 plugins { id("org.kordamp.gradle.jandex") version "2.0.0" } buildscript { repositories { gradlePluginPortal() mavenCentral() } dependencies { classpath 'org.kordamp.gradle:jandex-gradle-plugin:1.0.0' } } apply plugin: "org.kordamp.gradle.jandex" subprojects { apply plugin: "org.kordamp.gradle.jandex" 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 <build> <plugins> <plugin> <groupId>io.smallrye</groupId> <artifactId>jandex-maven-plugin</artifactId> <version>3.1.6</version> <executions> <execution> <id>make-index</id> <goals> <goal>jandex</goal> </goals> </execution> </executions> </plugin> </plugins> </build> ``` *** ## ΠΠ΅ΡΠ° ΠΈΠ½ΡΠΎΡΠΌΠ°ΡΠΈΡ **ΠΠ±Π»Π°ΡΡΡ**:: [[../../meta/zero/00 Maven|00 Maven]], [[../../meta/zero/00 Gradle|00 Gradle]] **Π ΠΎΠ΄ΠΈΡΠ΅Π»Ρ**:: **ΠΡΡΠΎΡΠ½ΠΈΠΊ**:: **ΠΠ²ΡΠΎΡ**:: **Π‘ΠΎΠ·Π΄Π°Π½Π°**:: [[2023-10-21]] ### ΠΠΎΠΏΠΎΠ»Π½ΠΈΡΠ΅Π»ΡΠ½ΡΠ΅ ΠΌΠ°ΡΠ΅ΡΠΈΠ°Π»Ρ - ### ΠΠΎΡΠ΅ΡΠ½ΠΈΠ΅ Π·Π°ΠΌΠ΅ΡΠΊΠΈ <!-- QueryToSerialize: LIST FROM [[]] WHERE contains(Π ΠΎΠ΄ΠΈΡΠ΅Π»Ρ, this.file.link) or contains(parents, this.file.link) -->