[repo] Migrate Groovy build scripts to use 'sourcesJar()' directly from buildSrc
This commit is contained in:
committed by
Space Team
parent
6d5f1c84a7
commit
d7fc4a1d27
@@ -66,7 +66,7 @@ jar {
|
||||
manifestAttributes(manifest, project, 'Main')
|
||||
}
|
||||
|
||||
configureSourcesJar()
|
||||
RepoArtifacts.sourcesJar(project)
|
||||
RepoArtifacts.javadocJar(project)
|
||||
|
||||
sourcesJar.dependsOn(":prepare:build.version:writeStdlibVersion")
|
||||
|
||||
@@ -5,7 +5,7 @@ apply plugin: 'kotlin'
|
||||
JvmToolchain.configureJvmToolchain(project, JdkMajorVersion.JDK_1_8)
|
||||
|
||||
configurePublishing(project)
|
||||
configureSourcesJar()
|
||||
RepoArtifacts.sourcesJar(project)
|
||||
RepoArtifacts.javadocJar(project)
|
||||
|
||||
sourceSets {
|
||||
|
||||
@@ -3,7 +3,7 @@ description = 'Kotlin Standard Library JDK 8 extension'
|
||||
apply plugin: 'kotlin'
|
||||
|
||||
configurePublishing(project)
|
||||
configureSourcesJar()
|
||||
RepoArtifacts.sourcesJar(project)
|
||||
RepoArtifacts.javadocJar(project)
|
||||
|
||||
dependencies {
|
||||
|
||||
@@ -10,7 +10,7 @@ JvmToolchain.configureJvmToolchain(project, JdkMajorVersion.JDK_1_8)
|
||||
|
||||
configurePublishing(project)
|
||||
RepoArtifacts.javadocJar(project)
|
||||
configureSourcesJar()
|
||||
RepoArtifacts.sourcesJar(project)
|
||||
|
||||
configurations {
|
||||
distSources
|
||||
|
||||
Reference in New Issue
Block a user