Skip to content

Commit

Permalink
Merge pull request #362 from ytai/BumpGradle-8.7
Browse files Browse the repository at this point in the history
Gradle 8.7
  • Loading branch information
hannesa2 committed May 10, 2024
2 parents 053757f + f0250fe commit cf50a96
Show file tree
Hide file tree
Showing 11 changed files with 28 additions and 11 deletions.
4 changes: 2 additions & 2 deletions IOIOBridge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ task distJar(type: OneJar) {
}

task zip(type: Zip, dependsOn: distJar) {
baseName = 'IOIOBridge'
version = '0103'
archiveBaseName = 'IOIOBridge'
archiveVersion = '0103'

from distJar
from('ioiobridge', 'ioiobridge.bat')
Expand Down
4 changes: 2 additions & 2 deletions IOIODude/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ task distJar(type: OneJar) {
}

task zip(type: Zip, dependsOn: distJar) {
baseName = 'IOIODude'
version = '0103'
archiveBaseName = 'IOIODude'
archiveVersion = '0103'

from distJar
from('ioiodude', 'ioiodude.bat')
Expand Down
4 changes: 2 additions & 2 deletions IOIOLibCore/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ javadoc {
}

task javadocJar(type: Jar) {
classifier = 'javadoc'
archiveClassifier = 'javadoc'
from javadoc
}

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

Expand Down
4 changes: 2 additions & 2 deletions IOIOLibPC/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ javadoc {
}

task javadocJar(type: Jar) {
classifier = 'javadoc'
archiveClassifier = 'javadoc'
from javadoc
}

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

Expand Down
5 changes: 4 additions & 1 deletion applications/HelloIOIO/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ android {
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
testInstrumentationRunnerArguments useTestStorageService: 'true'
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
}

dependencies {
Expand Down
4 changes: 4 additions & 0 deletions applications/HolidayIOIO/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ android {
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
testInstrumentationRunnerArguments useTestStorageService: 'true'
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
}

dependencies {
Expand Down
5 changes: 5 additions & 0 deletions applications/IOIOManager/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@ android {
testInstrumentationRunnerArguments useTestStorageService: 'true'
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}

buildTypes {
release {
minifyEnabled true
Expand Down
4 changes: 4 additions & 0 deletions applications/IOIOSimpleApp/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ android {
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
testInstrumentationRunnerArguments useTestStorageService: 'true'
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
}

dependencies {
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ buildscript {
dependencies {
classpath 'com.android.tools.build:gradle:7.4.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "com.github.hannesa2:gradle-one-jar:1.6"
classpath "com.github.hannesa2:gradle-one-jar:1.7-beta3"
}
}

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

0 comments on commit cf50a96

Please sign in to comment.