Skip to content

Commit

Permalink
feature: add libs for old artifactory
Browse files Browse the repository at this point in the history
  • Loading branch information
m-raab committed Jun 23, 2023
1 parent c69188a commit 54de9d3
Show file tree
Hide file tree
Showing 11 changed files with 76 additions and 145 deletions.
48 changes: 40 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@ test {

jar {
from {
configurations.artifactory.collect { it.isDirectory() ? it : zipTree(it)}
configurations.artifactory.collect { it.isDirectory() ? it : zipTree(it).matching {
exclude "**/**/com.jfrog.artifactory.properties"
}
}
}
}

Expand Down Expand Up @@ -176,6 +179,35 @@ signing {
sign configurations.archives, configurations.documentation
}

gradlePlugin {
plugins {
escrowPlugin {
id = 'com.intershop.gradle.escrow-plugin'
implementationClass = "com.intershop.gradle.escrow.EscrowPlugin"
}
javadocPlugin {
id = 'com.intershop.gradle.javadoc-configuration'
implementationClass = "com.intershop.gradle.javadoc.JavaDocConfigurationPlugin"
}
javasourcePlugin {
id = 'com.intershop.gradle.javasource-plugin'
implementationClass = 'com.intershop.gradle.javasource.JavaSourcePlugin'
}
simplepublishPlugin {
id = 'com.intershop.gradle.simplepublish-configuration'
implementationClass = 'com.intershop.gradle.simplepublish.PublishConfigurationPlugin'
}
artifactorypublishPlugin {
id = 'com.intershop.gradle.artifactorypublish-configuration'
implementationClass = 'com.intershop.gradle.artifactorypublish.ArtifactoryPublishConfigurationPlugin'
}
simpleartifactorypublishPlugin {
id = 'com.intershop.gradle.simpleartifactorypublish-configuration'
implementationClass = 'com.intershop.gradle.artifactorypublish.SimpleArtifactoryPublishConfigurationPlugin'
}
}
}

pluginBundle {
website = "https://github.com/IntershopCommunicationsAG/${project.name}"
vcsUrl = "https://github.com/IntershopCommunicationsAG/${project.name}"
Expand All @@ -184,28 +216,28 @@ pluginBundle {

plugins {
escrowPlugin {
id = 'com.intershop.gradle.escrow-plugin'
displayName = 'Plugin for escrow package creation'
tags = ['intershop', 'publish', 'release', 'escrow']
}
javadocPlugin {
id = 'com.intershop.gradle.javadoc-configuration'
displayName = 'Plugin with Intershop specific javadoc configuration'
tags = ['intershop', 'publish', 'release', 'java', 'doc']
}
javasourcePlugin {
id = 'com.intershop.gradle.javasource-plugin'
displayName = 'Plugin with Intershop specific javasource package configuration'
tags = ['intershop', 'publish', 'release', 'java', 'source']
}
simplepublishPlugin {
id = 'com.intershop.gradle.simplepublish-configuration'
displayName = 'Plugin with simple publishing configuration'
tags = ['intershop', 'publish', 'release', 'simple']
}
artifactorypublishPlugin {
id = 'com.intershop.gradle.artifactorypublish-configuration'
displayName = 'Plugin with Intershop specific publishing configuration with Artifactory'
tags = ['intershop', 'publish', 'release', 'artifactory']
}
simpleartifactorypublishPlugin {
id = 'com.intershop.gradle.simpleartifactorypublish-configuration'
displayName = 'Plugin with Intershop specific simple publishing configuration with Artifactory'
tags = ['intershop', 'publish', 'release', 'artifactory', 'simple']
}
}
}
Expand Down Expand Up @@ -241,7 +273,7 @@ dependencies {
"libs/build-info-extractor-2.9.2.jar",
"libs/build-info-extractor-gradle-4.6.0.jar")

compileOnly files("libs/build-info-api-2.9.2.jar",
compile files("libs/build-info-api-2.9.2.jar",
"libs/build-info-client-2.9.2.jar",
"libs/build-info-extractor-2.9.2.jar",
"libs/build-info-extractor-gradle-4.6.0.jar")
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ class MultiProjectArtifactorySpec extends AbstractIntegrationSpec {
buildFile << """
plugins {
id "ivy-publish"
id 'com.intershop.gradle.scmversion' version '1.3.0'
id 'com.intershop.gradle.buildinfo' version '2.0.0'
id 'com.intershop.gradle.scmversion' version '2.7.4'
id 'com.intershop.gradle.buildinfo' version '2.4.2'
id 'com.intershop.gradle.artifactorypublish-configuration'
}
Expand Down Expand Up @@ -169,8 +169,8 @@ class MultiProjectArtifactorySpec extends AbstractIntegrationSpec {
buildFile << """
plugins {
id "ivy-publish"
id 'com.intershop.gradle.scmversion' version '1.3.0'
id 'com.intershop.gradle.buildinfo' version '2.0.0'
id 'com.intershop.gradle.scmversion' version '2.7.4'
id 'com.intershop.gradle.buildinfo' version '2.4.2'
id 'com.intershop.gradle.artifactorypublish-configuration'
}
Expand Down Expand Up @@ -248,8 +248,8 @@ class MultiProjectArtifactorySpec extends AbstractIntegrationSpec {
buildFile << """
plugins {
id "maven-publish"
id 'com.intershop.gradle.scmversion' version '1.3.0'
id 'com.intershop.gradle.buildinfo' version '2.0.0'
id 'com.intershop.gradle.scmversion' version '2.7.4'
id 'com.intershop.gradle.buildinfo' version '2.4.2'
id 'com.intershop.gradle.artifactorypublish-configuration'
}
Expand Down Expand Up @@ -329,8 +329,8 @@ class MultiProjectArtifactorySpec extends AbstractIntegrationSpec {
buildFile << """
plugins {
id "ivy-publish"
id 'com.intershop.gradle.scmversion' version '1.3.0'
id 'com.intershop.gradle.buildinfo' version '2.0.0'
id 'com.intershop.gradle.scmversion' version '2.7.4'
id 'com.intershop.gradle.buildinfo' version '2.4.2'
id 'com.intershop.gradle.artifactorypublish-configuration'
}
Expand Down Expand Up @@ -410,8 +410,8 @@ class MultiProjectArtifactorySpec extends AbstractIntegrationSpec {
buildFile << """
plugins {
id "ivy-publish"
id 'com.intershop.gradle.scmversion' version '1.3.0'
id 'com.intershop.gradle.buildinfo' version '2.0.0'
id 'com.intershop.gradle.scmversion' version '2.7.4'
id 'com.intershop.gradle.buildinfo' version '2.4.2'
id 'com.intershop.gradle.artifactorypublish-configuration'
}
Expand Down Expand Up @@ -491,8 +491,8 @@ class MultiProjectArtifactorySpec extends AbstractIntegrationSpec {
buildFile << """
plugins {
id "ivy-publish"
id 'com.intershop.gradle.scmversion' version '1.3.0'
id 'com.intershop.gradle.buildinfo' version '2.0.0'
id 'com.intershop.gradle.scmversion' version '2.7.4'
id 'com.intershop.gradle.buildinfo' version '2.4.2'
id 'com.intershop.gradle.artifactorypublish-configuration'
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ class MultiProjectSimpleArtifactoryPublishSpec extends AbstractIntegrationSpec {
buildFile << """
plugins {
id "ivy-publish"
id 'com.intershop.gradle.scmversion' version '1.3.0'
id 'com.intershop.gradle.buildinfo' version '2.0.0'
id 'com.intershop.gradle.scmversion' version '2.7.4'
id 'com.intershop.gradle.buildinfo' version '2.4.2'
id 'com.intershop.gradle.simpleartifactorypublish-configuration'
}
Expand Down Expand Up @@ -143,8 +143,8 @@ class MultiProjectSimpleArtifactoryPublishSpec extends AbstractIntegrationSpec {
buildFile << """
plugins {
id "maven-publish"
id 'com.intershop.gradle.scmversion' version '1.3.0'
id 'com.intershop.gradle.buildinfo' version '2.0.0'
id 'com.intershop.gradle.scmversion' version '2.7.4'
id 'com.intershop.gradle.buildinfo' version '2.4.2'
id 'com.intershop.gradle.simpleartifactorypublish-configuration'
}
Expand Down Expand Up @@ -203,8 +203,8 @@ class MultiProjectSimpleArtifactoryPublishSpec extends AbstractIntegrationSpec {
buildFile << """
plugins {
id "ivy-publish"
id 'com.intershop.gradle.scmversion' version '1.3.0'
id 'com.intershop.gradle.buildinfo' version '2.0.0'
id 'com.intershop.gradle.scmversion' version '2.7.4'
id 'com.intershop.gradle.buildinfo' version '2.4.2'
id 'com.intershop.gradle.simpleartifactorypublish-configuration'
}
Expand Down Expand Up @@ -266,8 +266,8 @@ class MultiProjectSimpleArtifactoryPublishSpec extends AbstractIntegrationSpec {
buildFile << """
plugins {
id "ivy-publish"
id 'com.intershop.gradle.scmversion' version '1.3.0'
id 'com.intershop.gradle.buildinfo' version '2.0.0'
id 'com.intershop.gradle.scmversion' version '2.7.4'
id 'com.intershop.gradle.buildinfo' version '2.4.2'
id 'com.intershop.gradle.simpleartifactorypublish-configuration'
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ class SingleProjectSpec extends AbstractIntegrationSpec {
plugins {
id 'java'
id 'ivy-publish'
id 'com.intershop.gradle.scmversion' version '1.3.0'
id 'com.intershop.gradle.buildinfo' version '2.0.0'
id 'com.intershop.gradle.scmversion' version '2.7.4'
id 'com.intershop.gradle.buildinfo' version '2.4.2'
id 'com.intershop.gradle.artifactorypublish-configuration'
}
Expand Down Expand Up @@ -143,8 +143,8 @@ class SingleProjectSpec extends AbstractIntegrationSpec {
plugins {
id 'java'
id 'ivy-publish'
id 'com.intershop.gradle.scmversion' version '1.3.0'
id 'com.intershop.gradle.buildinfo' version '2.0.0'
id 'com.intershop.gradle.scmversion' version '2.7.4'
id 'com.intershop.gradle.buildinfo' version '2.4.2'
id 'com.intershop.gradle.artifactorypublish-configuration'
}
Expand Down Expand Up @@ -220,8 +220,8 @@ class SingleProjectSpec extends AbstractIntegrationSpec {
plugins {
id 'java'
id 'maven-publish'
id 'com.intershop.gradle.scmversion' version '1.3.0'
id 'com.intershop.gradle.buildinfo' version '2.0.0'
id 'com.intershop.gradle.scmversion' version '2.7.4'
id 'com.intershop.gradle.buildinfo' version '2.4.2'
id 'com.intershop.gradle.artifactorypublish-configuration'
}
Expand Down Expand Up @@ -300,8 +300,8 @@ class SingleProjectSpec extends AbstractIntegrationSpec {
plugins {
id 'java'
id 'ivy-publish'
id 'com.intershop.gradle.scmversion' version '1.3.0'
id 'com.intershop.gradle.buildinfo' version '2.0.0'
id 'com.intershop.gradle.scmversion' version '2.7.4'
id 'com.intershop.gradle.buildinfo' version '2.4.2'
id 'com.intershop.gradle.artifactorypublish-configuration'
}
Expand Down Expand Up @@ -379,8 +379,8 @@ class SingleProjectSpec extends AbstractIntegrationSpec {
plugins {
id 'java'
id 'ivy-publish'
id 'com.intershop.gradle.scmversion' version '1.3.0'
id 'com.intershop.gradle.buildinfo' version '2.0.0'
id 'com.intershop.gradle.scmversion' version '2.7.4'
id 'com.intershop.gradle.buildinfo' version '2.4.2'
id 'com.intershop.gradle.artifactorypublish-configuration'
}
Expand Down
Loading

0 comments on commit 54de9d3

Please sign in to comment.