|
@@ -14,6 +14,12 @@ artifacts {
|
|
|
archives sourceJar
|
|
|
}
|
|
|
|
|
|
+// Remove the archive configuration from the runtime configuration, so that anything added to archives
|
|
|
+// (such as the source jar) is no longer included in the runtime classpath
|
|
|
+configurations.default.extendsFrom = [configurations.runtime] as Set
|
|
|
+// Add the main jar into the default configuration
|
|
|
+artifacts { 'default' jar }
|
|
|
+
|
|
|
dependencies {
|
|
|
deployerJars "org.springframework.build.aws:org.springframework.build.aws.maven:3.0.0.RELEASE"
|
|
|
}
|