Skip to content

Commit 4ba7274

Browse files
committed
update deps
1 parent 7a03ce4 commit 4ba7274

6 files changed

Lines changed: 16 additions & 14 deletions

File tree

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ This library is based on the [boringssl AOSP repo](https://android.googlesource.
99
Gradle:
1010

1111
```gradle
12-
implementation("io.github.vvb2060.ndk:boringssl:4.1")
12+
implementation("io.github.vvb2060.ndk:boringssl:5.0")
1313
// or LTO version (~35MiB), it does not strip any debug info
14-
implementation("io.github.vvb2060.ndk:boringssl:4.1-lto-ndk27")
14+
implementation("io.github.vvb2060.ndk:boringssl:5.0-lto-ndk27")
1515
```
1616

1717
This library is [Prefab](https://google.github.io/prefab/), so you will need to enable it in your project (Android Gradle Plugin 4.1+):
@@ -70,3 +70,4 @@ target_link_libraries(app boringssl::crypto_static)
7070
* 3.1 [android-13.0.0_r18](https://android.googlesource.com/platform/external/boringssl/+/refs/tags/android-13.0.0_r18) [base 1530333b25589ee4d4d52b10e78ee55dd82f6dcd](https://github.com/google/boringssl/tree/1530333b25589ee4d4d52b10e78ee55dd82f6dcd) [patch adeb743478cf1894e0148e46044dc51f091a312e](https://github.com/google/boringssl/tree/adeb743478cf1894e0148e46044dc51f091a312e)
7171
* 4.0 [android-14.0.0_r18](https://android.googlesource.com/platform/external/boringssl/+/refs/tags/android-14.0.0_r18) [base 32b51305debe43e38e7bf2c2b13c4ebf3b474e80](https://github.com/google/boringssl/tree/32b51305debe43e38e7bf2c2b13c4ebf3b474e80) [patch a430310d6563c0734ddafca7731570dfb683dc19](https://github.com/google/boringssl/tree/a430310d6563c0734ddafca7731570dfb683dc19)
7272
* 4.1 [android-14.0.0_r54](https://android.googlesource.com/platform/external/boringssl/+/refs/tags/android-14.0.0_r54) [538b2a6cf0497cf8bb61ae726a484a3d7a34e54e](https://github.com/google/boringssl/tree/538b2a6cf0497cf8bb61ae726a484a3d7a34e54e)
73+
* 5.0 [android-15.0.0_r1](https://android.googlesource.com/platform/external/boringssl/+/refs/tags/android-15.0.0_r1) [4d50a595b49a2e7b7017060a4d402c4ee9fe28a2](https://github.com/google/boringssl/tree/4d50a595b49a2e7b7017060a4d402c4ee9fe28a2)

app/build.gradle

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,22 +7,22 @@ plugins {
77
android {
88
compileSdk = 35
99
buildToolsVersion = '35.0.0'
10-
ndkVersion = '27.0.11902837'
10+
ndkVersion = '27.0.12077973'
1111
namespace = 'io.github.vvb2060.ndk.boringssl.test'
1212
defaultConfig {
1313
minSdk = 21
1414
targetSdk = 35
15-
versionCode = 6
16-
versionName = 'android-14.0.0_r54'
15+
versionCode = 7
16+
versionName = 'android-15.0.0_r1'
1717
testInstrumentationRunner = 'androidx.test.runner.AndroidJUnitRunner'
1818
externalNativeBuild {
1919
ndkBuild {
2020
arguments += [ "-j${Runtime.runtime.availableProcessors()}" ]
21-
abiFilters += [ "x86", "x86_64", "armeabi-v7a", "arm64-v8a", "riscv64" ]
2221
}
2322
}
2423
ndk {
2524
debugSymbolLevel = "FULL"
25+
abiFilters += [ "x86", "x86_64", "armeabi-v7a", "arm64-v8a", "riscv64" ]
2626
}
2727
}
2828

@@ -47,6 +47,7 @@ android {
4747
}
4848

4949
compileOptions {
50+
coreLibraryDesugaringEnabled = true
5051
sourceCompatibility = JavaVersion.VERSION_21
5152
targetCompatibility = JavaVersion.VERSION_21
5253
}
@@ -89,7 +90,7 @@ android {
8990
}
9091

9192
dependencies {
92-
// implementation 'io.github.vvb2060.ndk:boringssl:4.0'
93+
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.1.2'
9394
androidTestImplementation 'androidx.test.ext:junit:1.2.1'
9495
androidTestImplementation 'androidx.test:rules:1.6.1'
9596
}

boringssl/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def enableLTO = providers.gradleProperty("enableLTO")
99
android {
1010
compileSdk = 35
1111
buildToolsVersion = '35.0.0'
12-
ndkVersion = '27.0.11902837'
12+
ndkVersion = '27.0.12077973'
1313
namespace = 'io.github.vvb2060.ndk.boringssl'
1414
defaultConfig {
1515
minSdk = 21
@@ -60,9 +60,9 @@ publishing {
6060
group 'io.github.vvb2060.ndk'
6161
artifactId 'boringssl'
6262
if (enableLTO.present) {
63-
version '4.1-lto-ndk27'
63+
version '5.0-lto-ndk27'
6464
} else {
65-
version '4.1'
65+
version '5.0'
6666
}
6767
afterEvaluate {
6868
from components.release

gradle/wrapper/gradle-wrapper.jar

79 Bytes
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.1-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

settings.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ pluginManagement {
55
mavenCentral()
66
}
77
plugins {
8-
id 'com.android.application' version '8.5.1'
9-
id 'com.android.library' version '8.5.1'
10-
id 'org.jetbrains.kotlin.android' version '2.0.0'
8+
id 'com.android.application' version '8.6.0'
9+
id 'com.android.library' version '8.6.0'
10+
id 'org.jetbrains.kotlin.android' version '2.0.20'
1111
}
1212
}
1313
dependencyResolutionManagement {

0 commit comments

Comments
 (0)