mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-02 11:07:10 +00:00
* chore(prose): remove em-dashes from config files * chore(prose): remove em-dashes from android sdk config * docs(spec-api): remove em-dash from README * fix(doctor): reword sidecar-jar error without em-dash * test(sidecar): reword assertion message without em-dash * docs: add CLAUDE.md with project conventions * build: add docs target for pandoc site * docs(site): add pandoc template and stylesheet * docs(site): add pandoc build script * docs(site): add landing pages * docs(manual): add getting-started * docs(manual): add writing-specs * docs(manual): add runs * docs(manual): add cli reference * docs(dev): add design principles * docs(dev): add architecture * ci: deploy docs site to github pages * docs: rewrite README as entry point to docs site
96 lines
2.6 KiB
Kotlin
96 lines
2.6 KiB
Kotlin
import com.vanniktech.maven.publish.AndroidSingleVariantLibrary
|
|
import com.vanniktech.maven.publish.SonatypeHost
|
|
|
|
plugins {
|
|
id("com.android.library") version "8.11.0"
|
|
kotlin("android") version "2.1.21"
|
|
id("com.vanniktech.maven.publish") version "0.30.0"
|
|
}
|
|
|
|
version = findProperty("uatu.version") as String? ?: "0.0.0-dev"
|
|
group = "io.github.priyanshujain"
|
|
|
|
android {
|
|
namespace = "dev.uatu.sdk"
|
|
compileSdk = 35
|
|
|
|
defaultConfig {
|
|
minSdk = 24
|
|
consumerProguardFiles("consumer-rules.pro")
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility = JavaVersion.VERSION_17
|
|
targetCompatibility = JavaVersion.VERSION_17
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = "17"
|
|
}
|
|
|
|
testOptions {
|
|
unitTests.isReturnDefaultValues = true
|
|
}
|
|
}
|
|
|
|
mavenPublishing {
|
|
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL, automaticRelease = true)
|
|
|
|
// Sign only when a release-signing key is provided (env or Gradle
|
|
// property). Unsigned runs are useful for `publishToMavenLocal` dry-runs;
|
|
// CI always has the key set so the actual Central push is always signed.
|
|
if (findProperty("signingInMemoryKey") != null) {
|
|
signAllPublications()
|
|
}
|
|
|
|
configure(
|
|
AndroidSingleVariantLibrary(
|
|
variant = "release",
|
|
sourcesJar = true,
|
|
publishJavadocJar = true,
|
|
),
|
|
)
|
|
|
|
coordinates(
|
|
groupId = "io.github.priyanshujain",
|
|
artifactId = "sdk-android",
|
|
version = version.toString(),
|
|
)
|
|
|
|
pom {
|
|
name.set("uatu sdk-android")
|
|
description.set(
|
|
"Android runtime SDK for uatu, a property-based UI fuzzer for mobile apps. " +
|
|
"Exposes a content-provider accessibility bridge consumed by the uatu CLI at test time.",
|
|
)
|
|
url.set("https://github.com/priyanshujain/uatu")
|
|
|
|
licenses {
|
|
license {
|
|
name.set("Apache License, Version 2.0")
|
|
url.set("https://www.apache.org/licenses/LICENSE-2.0.txt")
|
|
distribution.set("repo")
|
|
}
|
|
}
|
|
|
|
developers {
|
|
developer {
|
|
id.set("priyanshujain")
|
|
name.set("Priyanshu Jain")
|
|
url.set("https://github.com/priyanshujain")
|
|
}
|
|
}
|
|
|
|
scm {
|
|
url.set("https://github.com/priyanshujain/uatu")
|
|
connection.set("scm:git:git://github.com/priyanshujain/uatu.git")
|
|
developerConnection.set("scm:git:ssh://[email protected]/priyanshujain/uatu.git")
|
|
}
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
testImplementation("junit:junit:4.13.2")
|
|
testImplementation("org.json:json:20240303")
|
|
}
|