Merge branch '3.1.x' into 4.0.x
This commit is contained in:
@@ -63,8 +63,8 @@ test {
|
||||
}
|
||||
|
||||
task stubsJar(type: Jar, dependsOn: ['copySnippets', 'copySources', 'copyClasses']) {
|
||||
baseName = project.name
|
||||
classifier = 'stubs'
|
||||
archiveBaseName = project.name
|
||||
archiveClassifier = 'stubs'
|
||||
from project.file("${project.buildDir}/stubs")
|
||||
}
|
||||
|
||||
@@ -85,6 +85,13 @@ task copyClasses(type: Copy) {
|
||||
into "${project.buildDir}/stubs/"
|
||||
}
|
||||
|
||||
|
||||
project.tasks.named("verifierStubsJar").get().dependsOn('copySnippets', 'copySources', 'stubsJar') // TODO: We need to fix this
|
||||
project.tasks.named("copyContracts").get().dependsOn('stubsJar') // TODO: We need to fix this
|
||||
afterEvaluate {
|
||||
project.tasks.matching { it.name.contains("publish") }.each { it.dependsOn('verifierStubsJar') } // TODO: We need to fix this
|
||||
}
|
||||
|
||||
publishing {
|
||||
publications {
|
||||
maven(MavenPublication) {
|
||||
|
||||
@@ -64,8 +64,8 @@ test {
|
||||
}
|
||||
|
||||
task stubsJar(type: Jar, dependsOn: ['copySnippets', 'copySources', 'copyClasses']) {
|
||||
baseName = project.name
|
||||
classifier = 'stubs'
|
||||
archiveBaseName = project.name
|
||||
archiveClassifier = 'stubs'
|
||||
from project.file("${project.buildDir}/stubs")
|
||||
}
|
||||
|
||||
@@ -86,6 +86,12 @@ task copyClasses(type: Copy) {
|
||||
into "${project.buildDir}/stubs/"
|
||||
}
|
||||
|
||||
project.tasks.named("verifierStubsJar").get().dependsOn('copySnippets', 'copySources', 'stubsJar') // TODO: We need to fix this
|
||||
project.tasks.named("copyContracts").get().dependsOn('stubsJar') // TODO: We need to fix this
|
||||
afterEvaluate {
|
||||
project.tasks.matching { it.name.contains("publish") }.each { it.dependsOn('verifierStubsJar') } // TODO: We need to fix this
|
||||
}
|
||||
|
||||
publishing {
|
||||
publications {
|
||||
maven(MavenPublication) {
|
||||
|
||||
Reference in New Issue
Block a user