mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-25 09:05:50 +00:00
prep for release
This commit is contained in:
parent
e05a00d85f
commit
621fb80180
2 changed files with 28 additions and 1 deletions
26
build.gradle
26
build.gradle
|
@ -1,5 +1,6 @@
|
|||
plugins {
|
||||
id 'java'
|
||||
id 'maven-publish'
|
||||
id 'org.springframework.boot' version '3.0.4'
|
||||
id 'io.spring.dependency-management' version '1.1.0'
|
||||
id 'org.graalvm.buildtools.native' version '0.9.20'
|
||||
|
@ -68,4 +69,27 @@ tasks.register('openWithBrowser') {
|
|||
}
|
||||
}
|
||||
|
||||
// openWithBrowser.dependsOn('build')
|
||||
publishing {
|
||||
publications {
|
||||
maven(MavenPublication) {
|
||||
artifactId = 'spring-petclinic'
|
||||
from components.java
|
||||
// artifact(“build/libs/finance-$version”+”.jar”) {
|
||||
// extension 'jar'
|
||||
}
|
||||
}
|
||||
repositories {
|
||||
maven {
|
||||
// def releasesRepoUrl = layout.buildDirectory.dir("http://localhost:8079/repository/maven-releases/")
|
||||
// def snapshotsRepoUrl = layout.buildDirectory.dir("http://localhost:8079/repository/maven-snapshots/")
|
||||
url = "http://localhost:8079/repository/maven-snapshots/"
|
||||
allowInsecureProtocol=true
|
||||
credentials {
|
||||
username 'admin'
|
||||
password 'admin'
|
||||
}
|
||||
// url = layout.buildDirectory.dir('http://localhost:8079/repository/maven-releases/')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
3
gradle/wrapper/gradle-wrapper.properties
vendored
3
gradle/wrapper/gradle-wrapper.properties
vendored
|
@ -3,3 +3,6 @@ distributionPath=wrapper/dists
|
|||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.1-bin.zip
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
nexusUrl=http://localhost:8079/nexus
|
||||
nexusUsername=admin
|
||||
nexusPassword=admin
|
||||
|
|
Loading…
Reference in a new issue