Searched refs:sourceJar (Results 1 – 3 of 3) sorted by relevance
36 val sourceJar = project.tasks.create("sourceJarRelease", Jar::class.java) in <lambda>() constant37 sourceJar.isPreserveFileTimestamps = false in <lambda>()38 sourceJar.classifier = "sources" in <lambda>()39 sourceJar.from(extension.sourceSets.findByName("main")!!.java.srcDirs) in <lambda>()40 project.artifacts.add("archives", sourceJar) in <lambda>()48 val sourceJar = project.tasks.create("sourceJar", Jar::class.java) in setUpSourceJarTaskForJavaProject() constant49 sourceJar.isPreserveFileTimestamps = false in setUpSourceJarTaskForJavaProject()50 sourceJar.classifier = "sources" in setUpSourceJarTaskForJavaProject()52 sourceJar.from(convention.sourceSets.findByName("main")!!.allSource.srcDirs) in setUpSourceJarTaskForJavaProject()53 project.artifacts.add("archives", sourceJar) in setUpSourceJarTaskForJavaProject()
82 def sourcesJarTask = project.tasks.create(name: "sourceJar${suffix}", type: Jar) {
98 def sourcesJarTask = project.tasks.create(name: "sourceJar${suffix}", type: Jar) {