GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — sqlite-android/build.gradle.kts at master · Osmerion/sqlite-android

Expand file tree

/

build.gradle.kts

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
148 lines (122 loc) · 3.76 KB
/

build.gradle.kts

Copy path

File metadata and controls

148 lines (122 loc) · 3.76 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
/*
* Copyright 2005-2012 The Android Open Source Project
* Copyright 2017-2024 requery.io
* Copyright 2024-2026 Leon Linhart
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import com.osmerion.build.Download
plugins {
alias(buildDeps.plugins.android.library)
id("com.osmerion.maven-publish-conventions")
}
java {
toolchain {
languageVersion = JavaLanguageVersion.of(26)
}
}
android {
ndkVersion = "29.0.14206865"
compileSdk = 37
namespace = "com.osmerion.android.sqlite"
defaultConfig {
minSdk = 23
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles("proguard-rules.pro")
ndk {
abiFilters.addAll(listOf("armeabi-v7a", "arm64-v8a", "x86", "x86_64"))
}
}
buildTypes {
release {
isMinifyEnabled = false
proguardFiles(getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro")
}
}
lint {
abortOnError = false
}
compileOptions {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
externalNativeBuild {
ndkBuild {
path = file("src/main/jni/Android.mk")
}
}
testOptions {
managedDevices {
localDevices {
register("pixel2api30") {
device = "Pixel 2"
apiLevel = 30
systemImageSource = "aosp-atd"
}
}
}
}
publishing {
singleVariant("release") {
withJavadocJar()
withSourcesJar()
}
}
}
tasks {
val downloadSqlite = register<Download>("downloadSqlite") {
src = "https://www.sqlite.org/2026/sqlite-amalgamation-3540100.zip"
dest = layout.buildDirectory.file("tmp/sqlite.zip")
checksum = "92281c86e2957f9b9305890f9ac04204caa7b677cc868dc326d942689df28e30"
hashingAlgorithm = "SHA3-256"
outputs.upToDateWhen { true }
}
val installSqlite = register<Copy>("installSqlite") {
dependsOn(downloadSqlite)
includeEmptyDirs = false
from(zipTree(downloadSqlite.get().dest).matching {
include("*/sqlite3.*")
eachFile { path = name }
})
into("src/main/jni/sqlite")
}
preBuild {
dependsOn(installSqlite)
}
}
publishing {
publications {
register<MavenPublication>("mavenJava") {
/*
* Unfortunately, the "afterEvaluate" is necessary because the Android plugin registers
* the components too late.
*/
afterEvaluate {
from(components["release"])
}
pom {
description = "A distribution of the latest SQLite versions for Android."
packaging = "aar"
}
}
}
}
dependencies {
api(libs.androidx.core)
api(libs.androidx.sqlite)
testImplementation(buildDeps.junit)
androidTestImplementation(buildDeps.androidx.test.core)
androidTestImplementation(buildDeps.androidx.test.runner)
androidTestImplementation(buildDeps.androidx.test.rules)
androidTestImplementation(buildDeps.androidx.test.ext.junit)
}
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.