mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Merge branch '2.7.x' into 3.0.x
This commit is contained in:
commit
885189a1b4
@ -51,9 +51,3 @@ curl -L https://github.com/progrium/entrykit/releases/download/v${ENTRYKIT_VERSI
|
|||||||
chmod +x entrykit && \
|
chmod +x entrykit && \
|
||||||
mv entrykit /bin/entrykit && \
|
mv entrykit /bin/entrykit && \
|
||||||
entrykit --symlink
|
entrykit --symlink
|
||||||
|
|
||||||
###########################################################
|
|
||||||
# GRADLE ENTERPRISE
|
|
||||||
###########################################################
|
|
||||||
mkdir ~/.gradle
|
|
||||||
echo 'systemProp.user.name=concourse' > ~/.gradle/gradle.properties
|
|
@ -3,3 +3,5 @@ source /opt/concourse-java.sh
|
|||||||
setup_symlinks
|
setup_symlinks
|
||||||
|
|
||||||
cleanup_maven_repo "org.springframework.boot"
|
cleanup_maven_repo "org.springframework.boot"
|
||||||
|
|
||||||
|
echo 'systemProp.user.name=concourse' > ~/.gradle/gradle.properties
|
||||||
|
@ -7,7 +7,7 @@ outputs:
|
|||||||
- name: git-repo
|
- name: git-repo
|
||||||
caches:
|
caches:
|
||||||
- path: gradle
|
- path: gradle
|
||||||
- path: build/downloads
|
- path: maven
|
||||||
params:
|
params:
|
||||||
BRANCH:
|
BRANCH:
|
||||||
CI: true
|
CI: true
|
||||||
|
@ -43,7 +43,7 @@ task buildApp(type: GradleBuild) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
task downloadJdk(type: Download) {
|
task downloadJdk(type: Download) {
|
||||||
def destFolder = new File(rootProject.buildDir, "downloads/jdk/bellsoft")
|
def destFolder = new File(project.gradle.gradleUserHomeDir, "caches/springboot/downloads/jdk/bellsoft")
|
||||||
destFolder.mkdirs()
|
destFolder.mkdirs()
|
||||||
src "https://download.bell-sw.com/java/${jdkVersion}/bellsoft-jdk${jdkVersion}-linux-${jdkArch}.tar.gz"
|
src "https://download.bell-sw.com/java/${jdkVersion}/bellsoft-jdk${jdkVersion}-linux-${jdkArch}.tar.gz"
|
||||||
dest destFolder
|
dest destFolder
|
||||||
@ -53,7 +53,7 @@ task downloadJdk(type: Download) {
|
|||||||
|
|
||||||
task syncJdkDownloads(type: Sync) {
|
task syncJdkDownloads(type: Sync) {
|
||||||
dependsOn downloadJdk
|
dependsOn downloadJdk
|
||||||
from "${rootProject.buildDir}/downloads/jdk/bellsoft/"
|
from "${project.gradle.gradleUserHomeDir}/caches/springboot/downloads/jdk/bellsoft/"
|
||||||
include "bellsoft-jdk${jdkVersion}-linux-${jdkArch}.tar.gz"
|
include "bellsoft-jdk${jdkVersion}-linux-${jdkArch}.tar.gz"
|
||||||
into "${project.buildDir}/downloads/jdk/bellsoft/"
|
into "${project.buildDir}/downloads/jdk/bellsoft/"
|
||||||
}
|
}
|
||||||
|
@ -44,7 +44,7 @@ task buildApp(type: GradleBuild) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
task downloadJdk(type: Download) {
|
task downloadJdk(type: Download) {
|
||||||
def destFolder = new File(rootProject.buildDir, "downloads/jdk/oracle")
|
def destFolder = new File(project.gradle.gradleUserHomeDir, "caches/springboot/downloads/jdk/oracle")
|
||||||
destFolder.mkdirs()
|
destFolder.mkdirs()
|
||||||
src "https://download.oracle.com/java/17/archive/jdk-${oracleJdkVersion}_linux-${oracleJdkArch}_bin.tar.gz"
|
src "https://download.oracle.com/java/17/archive/jdk-${oracleJdkVersion}_linux-${oracleJdkArch}_bin.tar.gz"
|
||||||
dest destFolder
|
dest destFolder
|
||||||
@ -54,7 +54,7 @@ task downloadJdk(type: Download) {
|
|||||||
|
|
||||||
task syncJdkDownloads(type: Sync) {
|
task syncJdkDownloads(type: Sync) {
|
||||||
dependsOn downloadJdk
|
dependsOn downloadJdk
|
||||||
from "${rootProject.buildDir}/downloads/jdk/oracle/"
|
from "${project.gradle.gradleUserHomeDir}/caches/springboot/downloads/jdk/oracle/"
|
||||||
include "jdk-${oracleJdkVersion}_linux-${oracleJdkArch}_bin.tar.gz"
|
include "jdk-${oracleJdkVersion}_linux-${oracleJdkArch}_bin.tar.gz"
|
||||||
into "${project.buildDir}/downloads/jdk/oracle/"
|
into "${project.buildDir}/downloads/jdk/oracle/"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user