forked from allure-framework/allure-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
migrate build scripts to kotlin (via allure-framework#254)
- Loading branch information
Showing
75 changed files
with
938 additions
and
1,142 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 1,31 @@ | ||
description = "Allure AssertJ Integration" | ||
|
||
val agent by configurations.creating | ||
|
||
dependencies { | ||
agent("org.aspectj:aspectjweaver") | ||
|
||
compile(project(":allure-java-commons")) | ||
compile("org.assertj:assertj-core") | ||
|
||
testCompile("org.slf4j:slf4j-simple") | ||
testCompile("org.junit.jupiter:junit-jupiter-api") | ||
testRuntime("org.junit.jupiter:junit-jupiter-engine") | ||
testCompile(project(":allure-junit-platform")) | ||
testCompile(project(":allure-java-commons-test")) | ||
} | ||
|
||
tasks.named<Jar>("jar") { | ||
manifest { | ||
attributes(mapOf( | ||
"Automatic-Module-Name" to "io.qameta.allure.assertj" | ||
)) | ||
} | ||
} | ||
|
||
tasks.named<Test>("test") { | ||
useJUnitPlatform() | ||
doFirst { | ||
jvmArgs("-javaagent:${agent.singleFile}") | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 1,31 @@ | ||
description = "Allure Attachments" | ||
|
||
val agent by configurations.creating | ||
|
||
dependencies { | ||
agent("org.aspectj:aspectjweaver") | ||
compile("org.freemarker:freemarker") | ||
compile(project(":allure-java-commons")) | ||
testCompile("org.apache.commons:commons-lang3") | ||
testCompile("org.assertj:assertj-core") | ||
testCompile("org.junit.jupiter:junit-jupiter-api") | ||
testCompile("org.mockito:mockito-core") | ||
testCompile("org.slf4j:slf4j-simple") | ||
testCompile(project(":allure-junit-platform")) | ||
testRuntime("org.junit.jupiter:junit-jupiter-engine") | ||
} | ||
|
||
tasks.named<Jar>("jar") { | ||
manifest { | ||
attributes(mapOf( | ||
"Automatic-Module-Name" to "io.qameta.allure.attachment" | ||
)) | ||
} | ||
} | ||
|
||
tasks.named<Test>("test") { | ||
useJUnitPlatform() | ||
doFirst { | ||
jvmArgs("-javaagent:${agent.singleFile}") | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 1,29 @@ | ||
description = "Allure CucumberJVM Integration" | ||
|
||
val agent by configurations.creating | ||
|
||
val cucumberVersion = "1.2.5" | ||
|
||
dependencies { | ||
agent("org.aspectj:aspectjweaver") | ||
compile("info.cukes:cucumber-core:$cucumberVersion") | ||
compile("info.cukes:cucumber-java:$cucumberVersion") | ||
compile("info.cukes:cucumber-junit:$cucumberVersion") | ||
compile("info.cukes:gherkin:2.12.2") | ||
compile(project(":allure-java-commons")) | ||
testCompile("junit:junit:4.12") | ||
} | ||
|
||
tasks.named<Jar>("jar") { | ||
manifest { | ||
attributes(mapOf( | ||
"Automatic-Module-Name" to "io.qameta.allure.cucumberjvm" | ||
)) | ||
} | ||
} | ||
|
||
tasks.named<Test>("test") { | ||
doFirst { | ||
jvmArgs("-javaagent:${agent.singleFile}") | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 1,29 @@ | ||
description = "Allure CucumberJVM 2.0 Integration" | ||
|
||
val agent by configurations.creating | ||
|
||
val cucumberVersion = "2.3.1" | ||
|
||
dependencies { | ||
agent("org.aspectj:aspectjweaver") | ||
|
||
compile(project(":allure-java-commons")) | ||
compile("io.cucumber:cucumber-core:$cucumberVersion") | ||
compile("io.cucumber:cucumber-java:$cucumberVersion") | ||
|
||
testCompile("io.cucumber:cucumber-testng:$cucumberVersion") | ||
} | ||
|
||
tasks.named<Jar>("jar") { | ||
manifest { | ||
attributes(mapOf( | ||
"Automatic-Module-Name" to "io.qameta.allure.cucumber2jvm" | ||
)) | ||
} | ||
} | ||
|
||
tasks.named<Test>("test") { | ||
doFirst { | ||
jvmArgs("-javaagent:${agent.singleFile}") | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 1,27 @@ | ||
description = "Allure CucumberJVM 3.0 Integration" | ||
|
||
val agent by configurations.creating | ||
|
||
val cucumberVersion = "3.0.0" | ||
|
||
dependencies { | ||
agent("org.aspectj:aspectjweaver") | ||
compile("io.cucumber:cucumber-core:$cucumberVersion") | ||
compile("io.cucumber:cucumber-java:$cucumberVersion") | ||
compile(project(":allure-java-commons")) | ||
testCompile("io.cucumber:cucumber-testng:$cucumberVersion") | ||
} | ||
|
||
tasks.named<Jar>("jar") { | ||
manifest { | ||
attributes(mapOf( | ||
"Automatic-Module-Name" to "io.qameta.allure.cucumber3jvm" | ||
)) | ||
} | ||
} | ||
|
||
tasks.named<Test>("test") { | ||
doFirst { | ||
jvmArgs("-javaagent:${agent.singleFile}") | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 1,18 @@ | ||
description = "Allure Javadoc Descriptions" | ||
|
||
dependencies { | ||
compile(project(":allure-java-commons")) | ||
compile("commons-io:commons-io") | ||
|
||
testCompile("com.google.testing.compile:compile-testing") | ||
testCompile("org.slf4j:slf4j-simple") | ||
testCompile("org.testng:testng") | ||
} | ||
|
||
tasks.named<Jar>("jar") { | ||
manifest { | ||
attributes(mapOf( | ||
"Automatic-Module-Name" to "io.qameta.allure.description" | ||
)) | ||
} | ||
} |
Oops, something went wrong.