mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-23 15:55:49 +00:00
some changes
This commit is contained in:
parent
3e6c96b51d
commit
6b64894474
1 changed files with 0 additions and 14 deletions
14
build.gradle
14
build.gradle
|
@ -19,20 +19,6 @@ group = 'org.springframework.samples'
|
||||||
version = scmVersion.version
|
version = scmVersion.version
|
||||||
|
|
||||||
|
|
||||||
task customRelease {
|
|
||||||
dependsOn 'release'
|
|
||||||
doFirst {
|
|
||||||
def githubToken = System.getenv('GH_TOKEN') // Get token from environment variable
|
|
||||||
if (githubToken == null) {
|
|
||||||
throw new GradleException("GH_TOKEN environment variable is not set.")
|
|
||||||
}
|
|
||||||
|
|
||||||
scmVersion.repository.customUsername.set('idvylyuk') // Your GitHub username
|
|
||||||
scmVersion.repository.customPassword.set(githubToken) // Token from the environment variable
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
java {
|
java {
|
||||||
sourceCompatibility = JavaVersion.VERSION_17
|
sourceCompatibility = JavaVersion.VERSION_17
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue