Skip to content

Commit 8166f30

Browse files
Update Gradle to 8.9, AGP to 8.7.2
1 parent 0e1739b commit 8166f30

File tree

5 files changed

+24
-9
lines changed

5 files changed

+24
-9
lines changed

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
.PHONY: clean build-debug build-release \
22
publish-snapshot-to-local-maven \
3-
publish-snapshot-to-local-nexus
3+
publish-snapshot-to-local-nexus test
44
GRADLE = ./gradlew
55

66
clean:
77
-rm -rf build
88
$(GRADLE) clean
99

10+
test:
11+
ANDROID_SERIAL=$(shell adb devices | tail -n +2 | awk '!/emulator/{print $$1}') \
12+
$(GRADLE) :sqlcipher:connectedDebugAndroidTest
13+
1014
build-debug:
1115
$(GRADLE) assembleDebug
1216

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,14 @@ We welcome contributions, to contribute to SQLCipher for Android, a [contributor
1616
Add a local reference to the local library and dependency:
1717

1818
```groovy
19-
implementation files('libs/sqlcipher-android-4.6.0-release.aar')
19+
implementation files('libs/sqlcipher-android-undefined-release.aar')
2020
implementation 'androidx.sqlite:sqlite:2.2.0'
2121
```
2222

2323
or source a Community edition build from Maven Central:
2424

2525
```groovy
26-
implementation 'net.zetetic:sqlcipher-android:4.6.0@aar'
26+
implementation 'net.zetetic:sqlcipher-android:undefined@aar'
2727
implementation 'androidx.sqlite:sqlite:2.2.0'
2828
```
2929

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ buildscript {
66
google()
77
}
88
dependencies {
9-
def gradleToolsVersion = "7.4.1"
9+
def gradleToolsVersion = "8.7.2"
1010
classpath "com.android.tools.build:gradle:${gradleToolsVersion}"
1111
}
1212
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#Thu Jun 16 15:29:23 CDT 2022
22
distributionBase=GRADLE_USER_HOME
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
44
distributionPath=wrapper/dists
55
zipStorePath=wrapper/dists
66
zipStoreBase=GRADLE_USER_HOME

sqlcipher/build.gradle

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ apply plugin: "maven-publish"
33
apply plugin: "signing"
44

55
android {
6-
compileSdkVersion 33
7-
6+
compileSdkVersion 34
7+
namespace "net.zetetic.database"
88
defaultConfig {
99
minSdkVersion "${rootProject.ext.minSdkVersion}"
10-
targetSdkVersion 33
10+
targetSdkVersion 34
1111
versionCode 1
1212
versionName "${rootProject.ext.libraryVersion}"
1313
project.archivesBaseName = "sqlcipher-android-${versionName}"
@@ -55,6 +55,18 @@ android {
5555
targetCompatibility JavaVersion.VERSION_1_8
5656
}
5757

58+
publishing {
59+
singleVariant('release') {
60+
withSourcesJar()
61+
withJavadocJar()
62+
}
63+
64+
singleVariant('debug') {
65+
withSourcesJar()
66+
withJavadocJar()
67+
}
68+
}
69+
5870
}
5971

6072
dependencies {
@@ -80,7 +92,6 @@ allprojects {
8092
repositories {
8193
// The order in which you list these repositories matter.
8294
google()
83-
jcenter()
8495
}
8596
}
8697

0 commit comments

Comments
 (0)