Skip to content

Commit ff63840

Browse files
oschwaldclaude
andcommitted
chore: Add Android SDK project skeleton
Build infrastructure for Android SDK library: - Gradle build configuration with Kotlin 2.2, Android Gradle Plugin 8.13 - Version catalog with dependencies (Ktor, kotlinx.serialization, testing) - Code quality: Detekt, ktlint, JUnit 5 + Robolectric - Maven Central publishing configuration - Sample app module structure - Minimal stub files for compilation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 4bc52c1 commit ff63840

File tree

25 files changed

+1401
-0
lines changed

25 files changed

+1401
-0
lines changed

.precious.toml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
[commands.ktlint]
2+
type = "both"
3+
cmd = ["./gradlew"]
4+
lint-flags = [":device-sdk:ktlintCheck"]
5+
tidy-flags = [":device-sdk:ktlintFormat"]
6+
ok-exit-codes = 0
7+
invoke = "once"
8+
path-args = "none"
9+
include = ["**/*.kt", "**/*.kts"]
10+
expect-stderr = true
11+
12+
[commands.prettier-markdown]
13+
type = "both"
14+
include = ["**/*.md"]
15+
exclude = [".idea/**", "build/**"]
16+
cmd = ["npx", "prettier", "--parser", "markdown", "--prose-wrap", "always"]
17+
lint-flags = ["--check"]
18+
tidy-flags = ["--write"]
19+
ok-exit-codes = 0
20+
lint-failure-exit-codes = 1
21+
ignore-stderr = ["Code style issues", "npm warn exec"]
22+
23+
[commands.yamllint]
24+
type = "lint"
25+
cmd = ["yamllint"]
26+
ok-exit-codes = 0
27+
include = ["**/*.yml", "**/*.yaml"]
28+
exclude = [".idea/**", "build/**"]

.yamllint

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
extends: default
2+
3+
rules:
4+
line-length:
5+
max: 120
6+
document-start: disable
7+
truthy:
8+
check-keys: false
9+
comments:
10+
min-spaces-from-content: 1

build.gradle.kts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
// Top-level build file where you can add configuration options common to all sub-projects/modules.
2+
plugins {
3+
alias(libs.plugins.android.application) apply false
4+
alias(libs.plugins.android.library) apply false
5+
alias(libs.plugins.kotlin.android) apply false
6+
alias(libs.plugins.kotlin.serialization) apply false
7+
alias(libs.plugins.dokka) apply false
8+
alias(libs.plugins.detekt) apply false
9+
}
10+
11+
allprojects {
12+
group = "com.maxmind.device"
13+
version = "0.1.0-SNAPSHOT"
14+
}
15+
16+
tasks.register("clean", Delete::class) {
17+
delete(rootProject.layout.buildDirectory)
18+
}

0 commit comments

Comments
 (0)