Skip to content

Commit aade0b8

Browse files
committed
fix release
1 parent 84fde01 commit aade0b8

File tree

5 files changed

+15
-2
lines changed

5 files changed

+15
-2
lines changed

allure-java-commons/build.gradle

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
description = 'Allure Java Commons'
22

3+
apply from: "${gradleScriptDir}/maven-publish.gradle"
4+
apply from: "${gradleScriptDir}/bintray.gradle"
5+
apply plugin: 'maven'
36
apply plugin: 'java'
47

58
dependencies {

allure-junit4/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
description = 'Allure JUnit 4'
22

3+
apply from: "${gradleScriptDir}/maven-publish.gradle"
4+
apply from: "${gradleScriptDir}/bintray.gradle"
5+
apply plugin: 'maven'
6+
37
configurations {
48
agent
59
}

allure-junit5/build.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ buildscript {
99
}
1010
}
1111

12-
apply plugin: 'java'
12+
apply from: "${gradleScriptDir}/maven-publish.gradle"
13+
apply from: "${gradleScriptDir}/bintray.gradle"
14+
apply plugin: 'maven'
1315
apply plugin: 'org.junit.platform.gradle.plugin'
1416

1517
compileTestJava {

allure-testng/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
description = 'Allure TestNG'
22

3+
apply from: "${gradleScriptDir}/maven-publish.gradle"
4+
apply from: "${gradleScriptDir}/bintray.gradle"
5+
apply plugin: 'maven'
6+
37
configurations {
48
agent
59
}

gradle/maven-publish.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def customizePom(pom, gradleProject) {
1010
pom.whenConfigured { generatedPom ->
1111
// eliminate testng-scoped dependencies (no need in maven central poms)
1212
generatedPom.dependencies.removeAll { dep ->
13-
dep.scope == "testng"
13+
dep.scope == "test"
1414
}
1515

1616
// sort to make pom dependencies order consistent to ease comparison of older poms

0 commit comments

Comments
 (0)