Commit 1f550f1 1 parent a71834c commit 1f550f1 Copy full SHA for 1f550f1
File tree 3 files changed +16
-16
lines changed
3 files changed +16
-16
lines changed Original file line number Diff line number Diff line change @@ -40,15 +40,15 @@ jobs:
40
40
inputs :
41
41
secureFile : ' mssql-jdbc_auth-9.3.1.x64-preview.dll'
42
42
- task : Maven@3
43
- displayName : ' Maven build jre15 '
43
+ displayName : ' Maven build jre16 '
44
44
inputs :
45
45
mavenPomFile : ' pom.xml'
46
- goals : ' clean dependency:purge-local-repository -DdllPath=$(Agent.TempDirectory) -Dmssql_jdbc_test_connection_properties=jdbc:sqlserver://$(Target_SQL)$(server_domain);$(database);$(user);$(password); install -Pjre15 -DuserNTLM=$(userNTLM) -DpasswordNTLM=$(passwordNTLM) -DdomainNTLM=$(domainNTLM) -DexcludedGroups=$(Ex_Groups) -Dpkcs12_truststore_password=$(pkcs12_truststore_password) -Dpkcs12_truststore=$(pkcs12_truststore.secureFilePath)
46
+ goals : ' clean dependency:purge-local-repository -DdllPath=$(Agent.TempDirectory) -Dmssql_jdbc_test_connection_properties=jdbc:sqlserver://$(Target_SQL)$(server_domain);$(database);$(user);$(password); install -Pjre16 -DuserNTLM=$(userNTLM) -DpasswordNTLM=$(passwordNTLM) -DdomainNTLM=$(domainNTLM) -DexcludedGroups=$(Ex_Groups) -Dpkcs12_truststore_password=$(pkcs12_truststore_password) -Dpkcs12_truststore=$(pkcs12_truststore.secureFilePath)
47
47
-DapplicationClientID=$(applicationClientID) -DapplicationKey=$(applicationKey) -DtenantID=$(tenantID) -DkeyID=$(keyID) -DwindowsKeyPath=$(windowsKeyPath) -DenclaveAttestationUrl=$(enclaveAttestationUrl) -DenclaveAttestationProtocol=$(enclaveAttestationProtocol) -DenclaveServer=$(enclaveServer)'
48
48
testResultsFiles : ' **/TEST-*.xml'
49
- testRunTitle : ' Maven build jre15 '
49
+ testRunTitle : ' Maven build jre16 '
50
50
javaHomeOption : Path
51
- jdkDirectory : $(JDK15 )
51
+ jdkDirectory : $(JDK16 )
52
52
- task : Maven@3
53
53
displayName : ' Maven build jre11'
54
54
inputs :
58
58
testResultsFiles : ' **/TEST-*.xml'
59
59
testRunTitle : ' Maven build jre11'
60
60
javaHomeOption : Path
61
- jdkDirectory : $(JDK15 )
61
+ jdkDirectory : $(JDK16 )
62
62
- task : Maven@3
63
63
displayName : ' Maven build jre8'
64
64
inputs :
68
68
testResultsFiles : ' **/TEST-*.xml'
69
69
testRunTitle : ' Maven build jre8'
70
70
javaHomeOption : Path
71
- jdkDirectory : $(JDK15 )
71
+ jdkDirectory : $(JDK16 )
Original file line number Diff line number Diff line change 3
3
****************************************************************
4
4
* Instruction for Building JDBC Driver:
5
5
* For building particular version of the driver, use commands:
6
- * jre15 - - PS> gradle build
7
- PS> gradle build -PbuildProfile=jre15
6
+ * jre16 - - PS> gradle build
7
+ PS> gradle build -PbuildProfile=jre16
8
8
* jre11 - - PS> gradle build -PbuildProfile=jre11
9
9
* jre8 - - PS> gradle build -PbuildProfile=jre8
10
10
*
@@ -35,17 +35,17 @@ test {
35
35
}
36
36
}
37
37
38
- if (! hasProperty(' buildProfile' ) || (hasProperty(' buildProfile' ) && buildProfile == " jre15 " )){
38
+ if (! hasProperty(' buildProfile' ) || (hasProperty(' buildProfile' ) && buildProfile == " jre16 " )){
39
39
40
- jreVersion = " jre15 "
40
+ jreVersion = " jre16 "
41
41
excludedFile = ' com/microsoft/sqlserver/jdbc/SQLServerJdbc42.java'
42
42
jar {
43
43
manifest {
44
44
attributes ' Automatic-Module-Name' : ' com.microsoft.sqlserver.jdbc'
45
45
}
46
46
}
47
- sourceCompatibility = 15
48
- targetCompatibility = 15
47
+ sourceCompatibility = 16
48
+ targetCompatibility = 16
49
49
}
50
50
51
51
if (hasProperty(' buildProfile' ) && buildProfile == " jre11" ){
Original file line number Diff line number Diff line change 322
322
</build >
323
323
</profile >
324
324
<profile >
325
- <id >jre15 </id >
325
+ <id >jre16 </id >
326
326
<activation >
327
327
<activeByDefault >true</activeByDefault >
328
328
</activation >
329
329
<build >
330
- <finalName >${project.artifactId} -${project.version} .jre15 ${releaseExt} </finalName >
330
+ <finalName >${project.artifactId} -${project.version} .jre16 ${releaseExt} </finalName >
331
331
<plugins >
332
332
<plugin >
333
333
<groupId >org.apache.maven.plugins</groupId >
337
337
<excludes >
338
338
<exclude >**/com/microsoft/sqlserver/jdbc/SQLServerJdbc42.java</exclude >
339
339
</excludes >
340
- <source >15 </source >
341
- <target >15 </target >
340
+ <source >16 </source >
341
+ <target >16 </target >
342
342
</configuration >
343
343
</plugin >
344
344
<plugin >
You can’t perform that action at this time.
0 commit comments