Skip to content

Commit

Permalink
Fix TT release
Browse files Browse the repository at this point in the history
  • Loading branch information
cesarhernandezgt committed Sep 17, 2024
1 parent 9824977 commit 2d2d37c
Showing 1 changed file with 21 additions and 18 deletions.
39 changes: 21 additions & 18 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -302,8 +302,27 @@ configure(allprojects) { project ->
}
}


// Configuration for the subprojects to ensure all are published
configure(subprojects) { subproject ->
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
}
}
}
}
}


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

apply plugin: "java"
apply plugin: "java-test-fixtures"
Expand Down Expand Up @@ -405,24 +424,8 @@ configure(moduleProjects) { project ->
}


// Changes for publishing to Maven repository
publishing {
publications {
mavenJava(MavenPublication) {
from components.java // Adjust if necessary for your project
}
}

repositories {
maven {
url = uri("https://repository.tomitribe.com/service/local/staging/deploy/maven2")
credentials {
username = project.repoUser
password = project.repoPassword
}
}
}
}


configure(rootProject) {
description = "Spring Framework"
Expand Down

0 comments on commit 2d2d37c

Please sign in to comment.