Skip to content

Commit

Permalink
GH-1899 Bump Gradle to 8.2.1 & fix MavenFacade test
Browse files Browse the repository at this point in the history
  • Loading branch information
dzikoysk committed Aug 8, 2023
1 parent 15de87b commit 9b6b314
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
10 changes: 10 additions & 0 deletions .run/Run Reposilite - Test workspace.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@
<option name="PROGRAM_PARAMETERS" value="--token name:secret --level=DEBUG" />
<option name="VM_PARAMETERS" value="-Xmx32M" />
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/reposilite-test/workspace" />
<extension name="net.ashald.envfile">
<option name="IS_ENABLED" value="false" />
<option name="IS_SUBST" value="false" />
<option name="IS_PATH_MACRO_SUPPORTED" value="false" />
<option name="IS_IGNORE_MISSING_FILES" value="false" />
<option name="IS_ENABLE_EXPERIMENTAL_INTEGRATIONS" value="false" />
<ENTRIES>
<ENTRY IS_ENABLED="true" PARSER="runconfig" IS_EXECUTABLE="false" />
</ENTRIES>
</extension>
<method v="2">
<option name="Make" enabled="true" />
</method>
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ subprojects {
tasks.withType<KotlinCompile>().configureEach {
kotlinOptions {
jvmTarget = "11"
languageVersion = "1.8"
languageVersion = "1.9"
freeCompilerArgs = listOf("-Xjvm-default=all") // For generating default methods in interfaces
}
}
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.2.1-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ internal class MavenFacadeTest : MavenSpecification() {
val by = "[email protected]"

// when: the following file is deployed
val deployResult = mavenFacade.deployFile(DeployRequest(fileSpec.repository(), fileSpec.gav(), by, fileSpec.content.byteInputStream()))
val deployResult = mavenFacade.deployFile(DeployRequest(fileSpec.repository(), fileSpec.gav(), by, fileSpec.content.byteInputStream(), false))

// then: file has been successfully stored
assertOk(deployResult)
Expand Down

0 comments on commit 9b6b314

Please sign in to comment.