|
@@ -162,12 +162,7 @@ subprojects{
|
|
packaging 'jar'
|
|
packaging 'jar'
|
|
description = 'An enhanced toolkit of Mybatis to simplify development.'
|
|
description = 'An enhanced toolkit of Mybatis to simplify development.'
|
|
url = 'https://github.com/baomidou/mybatis-plus'
|
|
url = 'https://github.com/baomidou/mybatis-plus'
|
|
- licenses {
|
|
|
|
- license {
|
|
|
|
- name = 'The Apache License, Version 2.0'
|
|
|
|
- url = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
|
|
|
|
- }
|
|
|
|
- }
|
|
|
|
|
|
+
|
|
scm {
|
|
scm {
|
|
connection = 'scm:git@github.com:Codearte/gradle-nexus-staging-plugin.git'
|
|
connection = 'scm:git@github.com:Codearte/gradle-nexus-staging-plugin.git'
|
|
developerConnection = 'scm:git@github.com:Codearte/gradle-nexus-staging-plugin.git'
|
|
developerConnection = 'scm:git@github.com:Codearte/gradle-nexus-staging-plugin.git'
|
|
@@ -188,6 +183,16 @@ subprojects{
|
|
email = 'jobob@qq.com'
|
|
email = 'jobob@qq.com'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ withXml {
|
|
|
|
+ asNode().dependencies.'*'.findAll() {
|
|
|
|
+ it.scope.text() == 'compile' && project.configurations.provided.allDependencies.find { dep ->
|
|
|
|
+ dep.name == it.artifactId.text()
|
|
|
|
+ }
|
|
|
|
+ }.each() {
|
|
|
|
+ it.scope*.value = 'provided'
|
|
|
|
+ }
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|