Skip to content

Commit 8b8429f

Browse files
Bump gradle from 7.4.2 to 8.0.0 (#37)
* Bump com.android.tools.build:gradle from 7.4.2 to 8.0.0 Bumps com.android.tools.build:gradle from 7.4.2 to 8.0.0. --- updated-dependencies: - dependency-name: com.android.tools.build:gradle dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * Bump gradle and gradle wrapper * Update jdk version in the workflow * Update android public api for agp 8 --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: xxfast <[email protected]>
1 parent 32e6d0f commit 8b8429f

File tree

8 files changed

+18
-26
lines changed

8 files changed

+18
-26
lines changed

.github/workflows/build.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ jobs:
2424
pull-requests: write
2525
steps:
2626
- uses: actions/checkout@v3
27-
- name: set up JDK 11
27+
- name: Setup JDK 17
2828
uses: actions/setup-java@v3
2929
with:
30-
java-version: '11'
30+
java-version: '17'
3131
distribution: 'temurin'
3232

3333
- name: Setup gradle
@@ -68,10 +68,10 @@ jobs:
6868
needs: check
6969
steps:
7070
- uses: actions/checkout@v3
71-
- name: set up JDK 11
71+
- name: Setup JDK 17
7272
uses: actions/setup-java@v3
7373
with:
74-
java-version: '11'
74+
java-version: '17'
7575
distribution: 'temurin'
7676

7777
- name: Setup gradle
@@ -89,10 +89,10 @@ jobs:
8989
steps:
9090
- uses: actions/checkout@v3
9191

92-
- name: set up JDK 11
92+
- name: Setup JDK 17
9393
uses: actions/setup-java@v3
9494
with:
95-
java-version: '11'
95+
java-version: '17'
9696
distribution: 'temurin'
9797

9898
- name: Setup gradle

gradle/libs.versions.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[versions]
2-
agp = "7.4.2"
2+
agp = "8.0.0"
33
androidx-test-junit = "1.1.5"
44
junit = "4.13.2"
55
junit-jupiter="5.9.2"

gradle/wrapper/gradle-wrapper.jar

852 Bytes
Binary file not shown.
+2-1
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-7.5.1-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip
4+
networkTimeout=10000
45
zipStoreBase=GRADLE_USER_HOME
56
zipStorePath=wrapper/dists

gradlew

+8-4
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
# Darwin, MinGW, and NonStop.
5656
#
5757
# (3) This script is generated from the Groovy template
58-
# https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
58+
# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
5959
# within the Gradle project.
6060
#
6161
# You can find Gradle at https://github.com/gradle/gradle/.
@@ -80,10 +80,10 @@ do
8080
esac
8181
done
8282

83-
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
84-
85-
APP_NAME="Gradle"
83+
# This is normally unused
84+
# shellcheck disable=SC2034
8685
APP_BASE_NAME=${0##*/}
86+
APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit
8787

8888
# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
8989
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
@@ -143,12 +143,16 @@ fi
143143
if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
144144
case $MAX_FD in #(
145145
max*)
146+
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
147+
# shellcheck disable=SC3045
146148
MAX_FD=$( ulimit -H -n ) ||
147149
warn "Could not query maximum file descriptor limit"
148150
esac
149151
case $MAX_FD in #(
150152
'' | soft) :;; #(
151153
*)
154+
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
155+
# shellcheck disable=SC3045
152156
ulimit -n "$MAX_FD" ||
153157
warn "Could not set maximum file descriptor limit to $MAX_FD"
154158
esac

gradlew.bat

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ if "%OS%"=="Windows_NT" setlocal
2626

2727
set DIRNAME=%~dp0
2828
if "%DIRNAME%"=="" set DIRNAME=.
29+
@rem This is normally unused
2930
set APP_BASE_NAME=%~n0
3031
set APP_HOME=%DIRNAME%
3132

kstore-file/api/android/kstore-file.api

-7
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
public final class io/github/xxfast/kstore/file/BuildConfig {
2-
public static final field BUILD_TYPE Ljava/lang/String;
3-
public static final field DEBUG Z
4-
public static final field LIBRARY_PACKAGE_NAME Ljava/lang/String;
5-
public fun <init> ()V
6-
}
7-
81
public final class io/github/xxfast/kstore/file/FileCodec : io/github/xxfast/kstore/Codec {
92
public fun <init> (Ljava/lang/String;Lkotlinx/serialization/json/Json;Lkotlinx/serialization/KSerializer;)V
103
public fun decode (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;

kstore/api/android/kstore.api

-7
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,3 @@
1-
public final class io/github/xxfast/kstore/BuildConfig {
2-
public static final field BUILD_TYPE Ljava/lang/String;
3-
public static final field DEBUG Z
4-
public static final field LIBRARY_PACKAGE_NAME Ljava/lang/String;
5-
public fun <init> ()V
6-
}
7-
81
public abstract interface class io/github/xxfast/kstore/Codec {
92
public abstract fun decode (Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
103
public abstract fun encode (Ljava/lang/Object;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;

0 commit comments

Comments
 (0)