File tree Expand file tree Collapse file tree 2 files changed +21
-1
lines changed
Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change 1+ jdk :
2+ - openjdk17
3+ install :
4+ - make aar ANDROID_NDK=$ANDROID_HOME/ndk-bundle
5+ - cd packages/android
6+ - ./gradlew publishToMavenLocal -PVERSION=$JITPACK_VERSION
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ buildscript {
99}
1010
1111apply plugin : ' com.android.library'
12+ apply plugin : ' maven-publish'
1213
1314android {
1415 namespace ' ai.sqlite.vector'
@@ -44,5 +45,18 @@ repositories {
4445}
4546
4647dependencies {
47- api ' com.github.requery:sqlite-android:3.49.0'
48+ }
49+
50+ afterEvaluate {
51+ publishing {
52+ publications {
53+ release(MavenPublication ) {
54+ groupId = ' ai.sqlite'
55+ artifactId = ' vector'
56+ version = project. hasProperty(' VERSION' ) ? project. VERSION : [' make' , ' version' ]. execute(null , file(' ../..' )). text. trim()
57+
58+ artifact bundleReleaseAar
59+ }
60+ }
61+ }
4862}
You can’t perform that action at this time.
0 commit comments