Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions allure-assertj/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,6 @@ dependencies {
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}

tasks.jar {
manifest {
attributes(mapOf(
"Automatic-Module-Name" to "io.qameta.allure.assertj"
))
}
}

tasks.test {
useJUnitPlatform()
}
25 changes: 25 additions & 0 deletions allure-assertj/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/*
* Copyright 2016-2026 Qameta Software Inc
*
* 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
*
* http://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.
*/
module io.qameta.allure.assertj {
requires transitive io.qameta.allure.commons;
requires org.aspectj.runtime;
requires org.assertj.core;

exports io.qameta.allure.assertj;

provides io.qameta.allure.listener.FixtureLifecycleListener with io.qameta.allure.assertj.AssertJLifecycleListener;
provides io.qameta.allure.listener.TestLifecycleListener with io.qameta.allure.assertj.AssertJLifecycleListener;
}
8 changes: 0 additions & 8 deletions allure-awaitility/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,6 @@ dependencies {
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}

tasks.jar {
manifest {
attributes(mapOf(
"Automatic-Module-Name" to "io.qameta.allure.awaitility"
))
}
}

tasks.test {
useJUnitPlatform()
}
21 changes: 21 additions & 0 deletions allure-awaitility/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/*
* Copyright 2016-2026 Qameta Software Inc
*
* 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
*
* http://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.
*/
module io.qameta.allure.awaitility {
requires transitive io.qameta.allure.commons;
requires awaitility;

exports io.qameta.allure.awaitility;
}
2 changes: 1 addition & 1 deletion allure-bom/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ val scalaTestBinaryVersions = listOf("2.12", "2.13", "3")

dependencies {
constraints {
rootProject.subprojects.sorted().forEach {
rootProject.subprojects.filter { it.plugins.hasPlugin("maven-publish") }.sorted().forEach {
if (it.name == "allure-scalatest") {
scalaTestBinaryVersions.forEach { scalaBinaryVersion ->
api("${it.group}:${it.name}_$scalaBinaryVersion:${it.version}")
Expand Down
11 changes: 1 addition & 10 deletions allure-cucumber7-jvm/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ val cucumberVersion = "7.34.7"
val minimumCucumberVersion = "7.3.0"

dependencies {
implementation("org.slf4j:slf4j-api")
api(project(":allure-java-commons"))
compileOnly(platform("io.cucumber:cucumber-bom:$cucumberVersion"))
compileOnly("io.cucumber:cucumber-plugin")
Expand All @@ -24,16 +25,6 @@ dependencies {
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}

tasks.jar {
manifest {
attributes(
mapOf(
"Automatic-Module-Name" to "io.qameta.allure.cucumber7jvm"
)
)
}
}

tasks.test {
useJUnitPlatform()
systemProperty("allure.test.cucumber.version", cucumberVersion)
Expand Down
24 changes: 24 additions & 0 deletions allure-cucumber7-jvm/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/*
* Copyright 2016-2026 Qameta Software Inc
*
* 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
*
* http://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.
*/
module io.qameta.allure.cucumber7jvm {
requires transitive io.qameta.allure.commons;
requires io.cucumber.plugin;
requires io.cucumber.gherkin;
requires io.cucumber.messages;
requires org.slf4j;

exports io.qameta.allure.cucumber7jvm;
}
10 changes: 0 additions & 10 deletions allure-descriptions-javadoc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,6 @@ dependencies {
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}

tasks.jar {
manifest {
attributes(
mapOf(
"Automatic-Module-Name" to "io.qameta.allure.description"
)
)
}
}

tasks.test {
useJUnitPlatform()
}
22 changes: 22 additions & 0 deletions allure-descriptions-javadoc/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/*
* Copyright 2016-2026 Qameta Software Inc
*
* 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
*
* http://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.
*/
module io.qameta.allure.description {
requires java.compiler;

exports io.qameta.allure.description;

provides javax.annotation.processing.Processor with io.qameta.allure.description.JavaDocDescriptionsProcessor;
}
10 changes: 2 additions & 8 deletions allure-grpc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ val grpcVersion = "1.84.0"
val protobufVersion = "4.36.1"

dependencies {
testImplementation("com.fasterxml.jackson.core:jackson-databind")
implementation("org.slf4j:slf4j-api")
agent("org.aspectj:aspectjweaver")
api(project(":allure-java-commons"))
compileOnly("com.fasterxml.jackson.core:jackson-annotations")
Expand All @@ -35,14 +37,6 @@ dependencies {
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}

tasks.jar {
manifest {
attributes(mapOf(
"Automatic-Module-Name" to "io.qameta.allure.grpc"
))
}
}

tasks.test {
useJUnitPlatform()
doFirst {
Expand Down
24 changes: 24 additions & 0 deletions allure-grpc/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
/*
* Copyright 2016-2026 Qameta Software Inc
*
* 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
*
* http://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.
*/
module io.qameta.allure.grpc {
requires transitive io.qameta.allure.commons;
requires io.grpc;
requires com.google.protobuf;
requires com.google.protobuf.util;
requires org.slf4j;

exports io.qameta.allure.grpc;
}
8 changes: 0 additions & 8 deletions allure-hamcrest/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,6 @@ dependencies {
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}

tasks.jar {
manifest {
attributes(mapOf(
"Automatic-Module-Name" to "io.qameta.allure.hamcrest"
))
}
}

tasks.test {
useJUnitPlatform()
}
22 changes: 22 additions & 0 deletions allure-hamcrest/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/*
* Copyright 2016-2026 Qameta Software Inc
*
* 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
*
* http://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.
*/
module io.qameta.allure.hamcrest {
requires transitive io.qameta.allure.commons;
requires org.aspectj.runtime;
requires org.hamcrest;

exports io.qameta.allure.hamcrest;
}
8 changes: 0 additions & 8 deletions allure-httpclient/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,6 @@ dependencies {
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}

tasks.jar {
manifest {
attributes(mapOf(
"Automatic-Module-Name" to "io.qameta.allure.httpclient"
))
}
}

tasks.test {
useJUnitPlatform()
}
21 changes: 21 additions & 0 deletions allure-httpclient/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/*
* Copyright 2016-2026 Qameta Software Inc
*
* 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
*
* http://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.
*/
module io.qameta.allure.httpclient {
requires transitive io.qameta.allure.commons;
requires org.apache.httpcomponents.httpcore;

exports io.qameta.allure.httpclient;
}
8 changes: 0 additions & 8 deletions allure-httpclient5/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,6 @@ dependencies {
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}

tasks.jar {
manifest {
attributes(mapOf(
"Automatic-Module-Name" to "io.qameta.allure.httpclient5"
))
}
}

tasks.test {
useJUnitPlatform()
}
21 changes: 21 additions & 0 deletions allure-httpclient5/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/*
* Copyright 2016-2026 Qameta Software Inc
*
* 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
*
* http://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.
*/
module io.qameta.allure.httpclient5 {

Check warning on line 16 in allure-httpclient5/src/main/java/module-info.java

View workflow job for this annotation

GitHub Actions / Build (JDK 25)

[module] module name component httpclient5 should avoid terminal digits

Check warning on line 16 in allure-httpclient5/src/main/java/module-info.java

View workflow job for this annotation

GitHub Actions / Build (JDK 17)

[module] module name component httpclient5 should avoid terminal digits
requires transitive io.qameta.allure.commons;
requires org.apache.httpcomponents.core5.httpcore5;

exports io.qameta.allure.httpclient5;
}
15 changes: 3 additions & 12 deletions allure-java-commons-test/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,27 +1,18 @@
description = "Allure Java Commons Test Utils"

dependencies {
api("commons-io:commons-io")
implementation("commons-io:commons-io")
api("io.github.benas:random-beans")
api("org.apache.commons:commons-lang3")
implementation("org.apache.commons:commons-lang3")
api(project(":allure-java-commons"))
api("org.junit.jupiter:junit-jupiter-api")
implementation("com.fasterxml.jackson.core:jackson-databind")
implementation("org.junit.jupiter:junit-jupiter-api")
testImplementation("org.assertj:assertj-core")
testImplementation(project(":allure-assertj"))
testImplementation(project(":allure-junit-platform"))
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine")
testRuntimeOnly("org.junit.platform:junit-platform-launcher")
}

tasks.jar {
manifest {
attributes(mapOf(
"Automatic-Module-Name" to "io.qameta.allure.commonstest"
))
}
}

tasks.test {
useJUnitPlatform()
}
Loading