Skip to content

Commit

Permalink
Prepare for TT release
Browse files Browse the repository at this point in the history
  • Loading branch information
cesarhernandezgt committed Sep 19, 2024
1 parent 1ef8ba3 commit f6a6e21
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 3 deletions.
31 changes: 30 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
plugins {
id 'maven-publish'
id 'io.spring.nohttp' version '0.0.11'
id 'io.freefair.aspectj' version '8.0.1' apply false
// kotlinVersion is managed in gradle.properties
Expand Down Expand Up @@ -41,8 +42,36 @@ configure(allprojects) { project ->
}
}


def excludedModules = ['spring-context-indexer', 'spring-instrument', 'spring-framework-bom']

// Configuration for the subprojects to ensure all are published except excluded ones
configure(subprojects) { subproject ->
// Check if the subproject is not in the excluded list
if (!excludedModules.contains(subproject.name)) {
// Apply the 'maven-publish' plugin only to the included modules
apply plugin: 'maven-publish'

publishing {
repositories {
maven {
url = uri("https://repository.tomitribe.com/service/local/staging/deploy/maven2")
credentials {
username = project.repoUser
password = project.repoPassword
}
}
}
}
} else {
// Print or log information about excluded projects
logger.lifecycle("Skipping publishing for project: ${subproject.name}")
}
}


configure([rootProject] + javaProjects) { project ->
group = "org.springframework"
group = "org.tomitribe.springframework"

apply plugin: "java"
apply plugin: "java-test-fixtures"
Expand Down
2 changes: 1 addition & 1 deletion framework-bom/framework-bom.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description = "Spring Framework (Bill of Materials)"
apply plugin: 'java-platform'
apply from: "$rootDir/gradle/publications.gradle"

group = "org.springframework"
group = "org.tomitribe.springframework"

dependencies {
constraints {
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version=6.0.23-SNAPSHOT
version=6.0.23.RELEASE-TT.1

org.gradle.caching=true
org.gradle.jvmargs=-Xmx2048m
Expand Down

0 comments on commit f6a6e21

Please sign in to comment.