Skip to content

Commit 8e4b8ea

Browse files
Merge pull request #100 from xenit-eu/support-gradle-8
Support Gradle 8
2 parents f1e6292 + 27984dd commit 8e4b8ea

File tree

28 files changed

+374
-486
lines changed

28 files changed

+374
-486
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
fetch-depth: 0
1818
- uses: actions/setup-java@v1
1919
with:
20-
java-version: 11
20+
java-version: 17
2121
- name: Check
2222
run: ./gradlew check
2323
- name: Upload analysis to sonarcloud

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
## Unreleased
44

5+
## Version 1.2.0 - 2024-08-07
6+
7+
* [#100](https://github.com/xenit-eu/alfresco-gradle-sdk/pull/100) Support for Gradle 8
8+
9+
> [!warning]
10+
> This release drops support for Gradle versions <7.1 and Java <11
11+
512
## Version 1.1.0 - 2021-08-20
613

714
### New features

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
> [products](https://xenit.eu/alfresco-products), please visit our [website](https://xenit.eu).
1212
1313
Gradle plugins and tasks to support Alfresco development.
14-
Gradle 5.1 and above are supported.
14+
Gradle 7.1 and above are supported.
1515

1616
## Usage
1717

build.gradle

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
plugins {
22
id "java-gradle-plugin"
33
id "com.gradle.plugin-publish" version "0.21.0"
4-
id 'org.ajoberstar.reckon' version "0.13.2"
54
id 'org.sonarqube' version '4.3.1.3277'
65
id 'be.vbgn.ci-detect' version '0.5.0'
76
id 'be.vbgn.dev-conventions' version '0.5.3'
@@ -12,7 +11,11 @@ plugins {
1211

1312
group 'eu.xenit.gradle'
1413

15-
sourceCompatibility = 1.8
14+
java {
15+
toolchain {
16+
languageVersion = JavaLanguageVersion.of(11)
17+
}
18+
}
1619

1720
repositories {
1821
mavenCentral()
@@ -29,14 +32,14 @@ sourceSets {
2932
}
3033

3134
configurations {
32-
integrationTestCompile.extendsFrom testCompile
33-
integrationTestRuntime.extendsFrom testRuntime
35+
integrationTestCompileClasspath.extendsFrom testCompileClasspath
36+
integrationTestRuntimeClasspath.extendsFrom testRuntimeClasspath
3437
}
3538

3639
dependencies {
37-
compile gradleApi()
38-
testCompile group: 'junit', name: 'junit', version: '4.13.2'
39-
testCompile group: 'commons-io', name: 'commons-io', version: '2.13.0'
40+
implementation gradleApi()
41+
testImplementation group: 'junit', name: 'junit', version: '4.13.2'
42+
testImplementation group: 'commons-io', name: 'commons-io', version: '2.13.0'
4043
}
4144
import org.gradle.util.GradleVersion
4245

@@ -103,9 +106,3 @@ pluginBundle {
103106
}
104107
}
105108

106-
reckon {
107-
scopeFromProp()
108-
snapshotFromProp()
109-
}
110-
111-
reckonTagCreate.dependsOn(check)

gradle/wrapper/gradle-wrapper.jar

5.82 KB
Binary file not shown.
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.1-all.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
4+
networkTimeout=10000
45
zipStoreBase=GRADLE_USER_HOME
56
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)