Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Gradle #251

Closed
wants to merge 11 commits into from
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: sdkman/sdkman-action@master
with:
candidate: gradle
version: 7.4.2
version: 8.3

- name: Install Kotlin
run: |
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM gradle:7.4.2-jdk8
FROM gradle:8.3.0-jdk8

MAINTAINER Franco Meloni

Expand All @@ -17,7 +17,7 @@ RUN apt-get update && \
# Install danger-kotlin globally
COPY . /usr/local/_danger-kotlin
RUN cd /usr/lib && \
wget -q https://github.com/JetBrains/kotlin/releases/download/v1.7.0/kotlin-compiler-1.7.0.zip && \
wget -q https://github.com/JetBrains/kotlin/releases/download/v1.8.0/kotlin-compiler-1.8.0.zip && \
unzip kotlin-compiler-*.zip && \
rm kotlin-compiler-*.zip && \
cd /usr/local/_danger-kotlin && \
Expand Down
5 changes: 5 additions & 0 deletions danger-kotlin-kts/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}

tasks.withType(JavaCompile).configureEach {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}

publishing {
publications {
maven(MavenPublication) {
Expand Down
5 changes: 5 additions & 0 deletions danger-kotlin-library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}

tasks.withType(JavaCompile).configureEach {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}

publishing {
publications {
maven(MavenPublication) {
Expand Down

This file was deleted.

234 changes: 0 additions & 234 deletions danger-kotlin-library/gradlew

This file was deleted.

89 changes: 0 additions & 89 deletions danger-kotlin-library/gradlew.bat

This file was deleted.

5 changes: 5 additions & 0 deletions danger-kotlin-sdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,8 @@ compileKotlin {
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}

tasks.withType(JavaCompile).configureEach {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
6 changes: 0 additions & 6 deletions danger-kotlin-sdk/gradle/wrapper/gradle-wrapper.properties

This file was deleted.

Loading