@@ -421,7 +421,6 @@ project('spring-statemachine-uml') {
421
421
422
422
project(' spring-statemachine-build-tests' ) {
423
423
description = ' Spring State Machine Build Tests'
424
- tasks. findByPath(' artifactoryPublish' )?. enabled = false
425
424
426
425
dependencies {
427
426
testCompile project(' :spring-statemachine-uml' )
@@ -535,7 +534,6 @@ project('spring-statemachine-starter') {
535
534
536
535
configure(sampleProjects()) {
537
536
apply plugin : ' org.springframework.boot'
538
- tasks. findByPath(' artifactoryPublish' )?. enabled = false
539
537
// as samples are not published, we can use jdk8
540
538
compileJava {
541
539
sourceCompatibility = 1.8
@@ -563,7 +561,6 @@ configure(sampleProjects()) {
563
561
}
564
562
565
563
project(' spring-statemachine-samples-common' ) {
566
- tasks. findByPath(' artifactoryPublish' )?. enabled = false
567
564
dependencies {
568
565
compile project(' :spring-statemachine-core' )
569
566
compile ' org.springframework.shell:spring-shell'
@@ -575,6 +572,20 @@ project('spring-statemachine-samples-common') {
575
572
configure(rootProject) {
576
573
description = ' Spring State Machine'
577
574
575
+ pluginManager. withPlugin(' com.jfrog.artifactory' ) {
576
+ artifactory {
577
+ publish {
578
+ defaults {
579
+ properties {
580
+ archives ' *:*:*:*@zip' , ' zip.deployed' : false , ' zip.name' : ' spring-statemachine' , ' zip.displayname' : ' Spring Statemachine'
581
+ archives ' *:*:*:docs@zip' , ' zip.type' : ' docs'
582
+ archives ' *:*:*:dist@zip' , ' zip.type' : ' dist'
583
+ }
584
+ }
585
+ }
586
+ }
587
+ }
588
+
578
589
dependencies {
579
590
// just used to get version into docs
580
591
compile ' org.springframework:spring-core'
0 commit comments