Skip to content

Commit

Permalink
Upgrade befta-fw to 9.0.0 and gradle to 8.7
Browse files Browse the repository at this point in the history
  • Loading branch information
lang-ben committed May 23, 2024
1 parent 8443271 commit 59b7d7a
Show file tree
Hide file tree
Showing 7 changed files with 202 additions and 146 deletions.
2 changes: 1 addition & 1 deletion .classpath
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<attribute name="gradle_used_by_scope" value="main,test"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11/"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17/"/>
<classpathentry kind="con" path="org.eclipse.buildship.core.gradleclasspathcontainer"/>
<classpathentry kind="output" path="bin/default"/>
</classpath>
14 changes: 6 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
plugins {
id 'java-library'
id 'maven-publish'
id 'maven'
}

apply plugin: 'java'

def buildNumber = System.getenv("RELEASE_VERSION")?.replace("refs/tags/", "") ?: "7.21.13"
def buildNumber = System.getenv("RELEASE_VERSION")?.replace("refs/tags/", "") ?: "7.22.0"

group 'com.github.hmcts'

Expand All @@ -32,7 +31,6 @@ def pomConfig = {
repositories {
mavenLocal()
mavenCentral()
jcenter()
maven {
url 'https://jitpack.io'
}
Expand All @@ -46,16 +44,16 @@ ext {
}

jar {
baseName = "ccd-test-definitions"
archiveBaseName = "ccd-test-definitions"
}

task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
archiveClassifier = 'sources'
from sourceSets.main.allSource
}

task javadocJar(type: Jar, dependsOn: javadoc) {
classifier = 'javadoc'
archiveClassifier = 'javadoc'
from javadoc.destinationDir
}
tasks.withType(Test) {
Expand Down Expand Up @@ -164,10 +162,10 @@ publishing {
}
}

wrapper.gradleVersion = '2.10'
wrapper.gradleVersion = '8.7'

dependencies {
compile group: 'com.github.hmcts', name: 'befta-fw', version: '8.8.5'
compileOnly group: 'com.github.hmcts', name: 'befta-fw', version: '9.0.0'
}
// end::dependencies[]

Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
4 changes: 3 additions & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading

0 comments on commit 59b7d7a

Please sign in to comment.