Skip to content

Commit

Permalink
Update AGP
Browse files Browse the repository at this point in the history
  • Loading branch information
vvb2060 committed May 28, 2024
1 parent a868c52 commit e42d152
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 9 deletions.
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ If you only want to use curl tool, unzip apk, extract `libcurl.so` and rename it
Gradle:

```gradle
implementation 'io.github.vvb2060.ndk:curl:8.6.0'
implementation 'io.github.vvb2060.ndk:curl:8.8.0'
```

This library is [Prefab](https://google.github.io/prefab/), so you will need to enable it in your project (Android Gradle Plugin 4.1+):
Expand Down Expand Up @@ -71,6 +71,12 @@ target_link_libraries(app curl::curl_static)

## Version

### 8.8.0
- curl 8.8.0
- nghttp2 1.62.1
- nghttp3 1.3.0
- ngtcp2 1.5.0

### 8.6.0
- curl 8.6.0
- nghttp2 1.59.0
Expand Down
4 changes: 2 additions & 2 deletions curl/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {
android {
compileSdk = 34
buildToolsVersion = "34.0.0"
ndkVersion = "26.1.10909125"
ndkVersion = "27.0.11718014"
namespace = "io.github.vvb2060.ndk.curl"
defaultConfig {
minSdk = 21
Expand Down Expand Up @@ -74,7 +74,7 @@ publishing {
mavenJava(MavenPublication) {
group = "io.github.vvb2060.ndk"
artifactId = "curl"
version = "8.6.0"
version = "8.8.0"
afterEvaluate {
from(components.release)
}
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
Expand Down
6 changes: 3 additions & 3 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ pluginManagement {
mavenCentral()
}
plugins {
id("com.android.application") version "8.2.0"
id("com.android.library") version "8.2.0"
id("org.jetbrains.kotlin.android") version "1.9.20"
id("com.android.application") version "8.4.1"
id("com.android.library") version "8.4.1"
id("org.jetbrains.kotlin.android") version "2.0.0"
}
}
dependencyResolutionManagement {
Expand Down
3 changes: 2 additions & 1 deletion tool/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
android {
compileSdk = 34
buildToolsVersion = "34.0.0"
ndkVersion = "26.1.10909125"
ndkVersion = "27.0.11718014"
namespace = "io.github.vvb2060.ndk.curl"
defaultConfig {
applicationId = "io.github.vvb2060.ndk.curl"
Expand All @@ -24,6 +24,7 @@ android {
release {
minifyEnabled = true
shrinkResources = true
vcsInfo.include = false
signingConfig = signingConfigs.debug
proguardFiles("proguard-rules.pro")
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(buildView());
apkPath = getApplicationInfo().sourceDir;
editText.setText("--http3-only --curves X25519Kyber https://www.cloudflare.com/cdn-cgi/trace");
editText.setText("--http3 --curves X25519Kyber --ech true --doh-url https://1.0.0.1/dns-query https://crypto.cloudflare.com/cdn-cgi/trace");
editText.dispatchKeyEvent(new KeyEvent(KeyEvent.ACTION_DOWN, KeyEvent.KEYCODE_ENTER));
}

Expand Down

0 comments on commit e42d152

Please sign in to comment.