Skip to content

Commit

Permalink
Add artifactory publish information
Browse files Browse the repository at this point in the history
  • Loading branch information
fmbenhassine committed Dec 11, 2023
1 parent 3e258ad commit 969ae29
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 41 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration-43x.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ jobs:
- name: Build the project and Deploy to Artifactory
run: |
jf gradle build install artifactoryPublish -x test -I gradle/initscript.gradle
jf gradle build install artifactoryPublish -x test
jf rt build-publish
17 changes: 15 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,24 @@ buildscript {
}
}

apply plugin: org.jfrog.gradle.plugin.artifactory.ArtifactoryPlugin

plugins {
id 'org.sonarqube' version '2.6.2'
id 'org.asciidoctor.jvm.pdf' version '3.1.0'
id 'org.asciidoctor.jvm.gems' version '3.1.0'
id 'org.asciidoctor.jvm.convert' version '3.1.0'
id 'com.jfrog.artifactory' version '5.1.11'
}

artifactory {
publish {
defaults {
publications('ALL_PUBLICATIONS')
}
}
}

artifactoryPublish.skip = true

ext {
linkHomepage = 'https://projects.spring.io/spring-batch/'
linkCi = 'https://build.spring.io/browse/BATCH'
Expand Down Expand Up @@ -412,11 +421,13 @@ project('spring-batch-infrastructure') {
project('spring-batch-docs') {
description = 'Spring Batch Docs'
project.tasks.findByPath("artifactoryPublish")?.enabled = false
artifactoryPublish.skip = true
}

project('spring-batch-core-tests') {
description = 'Spring Batch Core Tests'
project.tasks.findByPath("artifactoryPublish")?.enabled = false
artifactoryPublish.skip = true
dependencies {
compile project(":spring-batch-core")
compile project(":spring-batch-infrastructure")
Expand Down Expand Up @@ -456,6 +467,7 @@ project('spring-batch-core-tests') {
project('spring-batch-infrastructure-tests') {
description = 'Spring Batch Infrastructure Tests'
project.tasks.findByPath("artifactoryPublish")?.enabled = false
artifactoryPublish.skip = true
dependencies {
compile project(":spring-batch-infrastructure")
compile "javax.jms:javax.jms-api:$jmsVersion"
Expand Down Expand Up @@ -586,6 +598,7 @@ project('spring-batch-integration') {
project('spring-batch-samples') {
description = 'Batch Batch Samples'
project.tasks.findByPath("artifactoryPublish")?.enabled = false
artifactoryPublish.skip = true

dependencies {

Expand Down
38 changes: 0 additions & 38 deletions gradle/initscript.gradle

This file was deleted.

0 comments on commit 969ae29

Please sign in to comment.