File tree Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Expand file tree Collapse file tree 1 file changed +0
-22
lines changed Original file line number Diff line number Diff line change 1
1
import com.android.build.gradle.BaseExtension
2
- import com.jfrog.bintray.gradle.Artifact
3
2
import com.jfrog.bintray.gradle.BintrayExtension
4
- import com.jfrog.bintray.gradle.BintrayUploadTask
5
3
import com.jfrog.bintray.gradle.RecordingCopyTask
6
4
import org.jfrog.gradle.plugin.artifactory.dsl.ArtifactoryPluginConvention
7
5
import org.jfrog.gradle.plugin.artifactory.dsl.DoubleDelegateWrapper
@@ -368,26 +366,6 @@ fun Project.setupPublishing() {
368
366
| Dest: $pomDest
369
367
| Name: $pomName
370
368
""" .trimMargin())
371
- tasks.withType<BintrayUploadTask > {
372
- doLast {
373
- fun Any.prettyString () = " [" + javaClass.declaredFields.mapNotNull {
374
- it.isAccessible = true
375
-
376
- if (it.name.contains(" $" ) || it.name == " metaClass" ) {
377
- null
378
- } else {
379
- " ${it.name} =${it.get(this )} "
380
- }
381
- }.joinToString() + " ]"
382
-
383
- logger.info("""
384
- |Upload task config
385
- | publications: ${publicationUploads?.joinToString { it.prettyString() }}
386
- | configurations: ${configurationUploads?.joinToString { it.prettyString() }}
387
- | fileUploads: ${fileUploads?.joinToString { it.prettyString() }}
388
- """ .trimMargin())
389
- }
390
- }
391
369
392
370
filesSpec(closureOf<RecordingCopyTask > {
393
371
from(pomSrc)
You can’t perform that action at this time.
0 commit comments