File tree Expand file tree Collapse file tree 12 files changed +221
-159
lines changed
src/SignalR/clients/java/signalr
src/main/java/com/microsoft/signalr Expand file tree Collapse file tree 12 files changed +221
-159
lines changed Original file line number Diff line number Diff line change @@ -45,15 +45,16 @@ Remove-Item -Force -Recurse $tempDir -ErrorAction Ignore | out-null
4545mkdir $tempDir - ea Ignore | out-null
4646mkdir $installDir - ea Ignore | out-null
4747Write-Host " Starting download of JDK ${JdkVersion} "
48- & $PSScriptRoot \Download.ps1 " https://netcorenativeassets.blob.core.windows.net/resource-packages/external/windows/java/jdk-${JdkVersion} _windows-x64_bin .zip" $tempDir / jdk.zip
48+ & $PSScriptRoot \Download.ps1 " https://netcorenativeassets.blob.core.windows.net/resource-packages/external/windows/java/microsoft- jdk-${JdkVersion} -windows-x64 .zip" $tempDir / jdk.zip
4949Write-Host " Done downloading JDK ${JdkVersion} "
5050
5151Add-Type - assembly " System.IO.Compression.FileSystem"
5252[System.IO.Compression.ZipFile ]::ExtractToDirectory(" $tempDir /jdk.zip" , " $tempDir /jdk/" )
5353
5454Write-Host " Expanded JDK to $tempDir "
5555Write-Host " Installing JDK to $installDir "
56- Move-Item " $tempDir /jdk/jdk-${JdkVersion} /*" $installDir
56+ # The name of the file directory within the zip is based on the version, but may contain a +N for build number.
57+ Move-Item " $ ( Get-ChildItem - Path " $tempDir /jdk" | Select-Object - First 1 - ExpandProperty FullName) /*" $installDir
5758Write-Host " Done installing JDK to $installDir "
5859Remove-Item - Force - Recurse $tempDir - ErrorAction Ignore | out-null
5960
Original file line number Diff line number Diff line change 2222echo " PlatformArch: $platformarch "
2323DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
2424output_dir=" $DIR /java"
25- url=" https://netcorenativeassets.blob.core.windows.net/resource-packages/external/linux/java/jdk-${java_version} _${platformarch} _bin .tar.gz"
25+ url=" https://netcorenativeassets.blob.core.windows.net/resource-packages/external/linux/java/microsoft- jdk-${java_version} _${platformarch} .tar.gz"
2626echo " Downloading from: $url "
2727tmp=" $( mktemp -d -t install-jdk.XXXXXX) "
2828
Original file line number Diff line number Diff line change 11<Project >
22 <ItemGroup Condition =" '$(TestDependsOnJava)' == 'true'" >
3- <HelixPreCommand Condition =" '$(IsWindowsHelixQueue)' == 'true'" Include =" call RunPowershell.cmd InstallJdk.ps1 11 .0.3 %25HELIX_CORRELATION_PAYLOAD%25\jdk && set %22JAVA_HOME=%25HELIX_CORRELATION_PAYLOAD%25\jdk%22" />
4- <HelixPreCommand Condition =" '$(IsWindowsHelixQueue)' != 'true' AND '$(IsMacHelixQueue)' != 'true'" Include =" ./installjdk.sh 10 .0.2 x64 && if [ " %24JAVA_HOME" = "" ]%3B then export JAVA_HOME=%24PWD/java%3B fi" />
3+ <HelixPreCommand Condition =" '$(IsWindowsHelixQueue)' == 'true'" Include =" call RunPowershell.cmd InstallJdk.ps1 21 .0.5 %25HELIX_CORRELATION_PAYLOAD%25\jdk && set %22JAVA_HOME=%25HELIX_CORRELATION_PAYLOAD%25\jdk%22" />
4+ <HelixPreCommand Condition =" '$(IsWindowsHelixQueue)' != 'true' AND '$(IsMacHelixQueue)' != 'true'" Include =" ./installjdk.sh 21 .0.5 x64 && if [ " %24JAVA_HOME" = "" ]%3B then export JAVA_HOME=%24PWD/java%3B fi" />
55 </ItemGroup >
66
77 <ItemGroup Condition =" '$(TestDependsOnMssql)' == 'true' AND '$(IsWindowsHelixQueue)' == 'true' AND '$(IsArm64HelixQueue)' != 'true'" >
Original file line number Diff line number Diff line change 11buildscript {
22 repositories {
33 maven {
4- url " https://plugins.gradle.org/m2/"
4+ url = " https://plugins.gradle.org/m2/"
55 }
66 }
77 dependencies {
@@ -19,7 +19,7 @@ allprojects {
1919 apply plugin : " com.diffplug.spotless"
2020
2121 // If we're run from outside MSBuild, just assign a bogus dev version.
22- version project. findProperty(' packageVersion' ) ?: " 99.99.99-dev"
22+ version = project. findProperty(' packageVersion' ) ?: " 99.99.99-dev"
2323
2424 java {
2525 sourceCompatibility = 1.9
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ plugins {
33 id ' maven-publish'
44}
55
6- group ' com.microsoft.signalr'
6+ group = ' com.microsoft.signalr'
77
88java {
99 withJavadocJar()
@@ -26,7 +26,7 @@ publishing {
2626 release(MavenPublication ) {
2727 from components. java
2828
29- artifactId ' signalr'
29+ artifactId = ' signalr'
3030
3131 pom {
3232 packaging = ' jar'
Original file line number Diff line number Diff line change 11distributionBase =GRADLE_USER_HOME
22distributionPath =wrapper/dists
3- distributionSha256Sum =5b9c5eb3f9fc2c94abaea57d90bd78747ca117ddbbf96c859d3741181a12bf2a
4- distributionUrl =https\://services.gradle.org/distributions/gradle-8.10-bin.zip
3+ distributionSha256Sum =72f44c9f8ebcb1af43838f45ee5c4aa9c5444898b3468ab3f4af7b6076c5bc3f
4+ distributionUrl =https\://services.gradle.org/distributions/gradle-9.2.1-bin.zip
5+ networkTimeout =10000
6+ validateDistributionUrl =true
57zipStoreBase =GRADLE_USER_HOME
68zipStorePath =wrapper/dists
You can’t perform that action at this time.
0 commit comments