mirror of
https://github.com/pachli/pachli-android.git
synced 2025-01-10 16:03:04 +01:00
5f198b0d90
Provide a build convention plugin for command line tools, and use `libs.versions.toml` for command line tool dependencies. Adjust the individual tool `build.gradle.kts` files accordingly. Remove unnecessary `gradle.properties` and `settings.gradle` files for projects that are included as subprojects, not included builds. Add a trivial test for each command line tool so there are tests to run and provide some confidence that automated library upgrades don't break command line tool compilation.
40 lines
1.1 KiB
Plaintext
40 lines
1.1 KiB
Plaintext
/*
|
|
* Copyright 2024 Pachli Association
|
|
*
|
|
* This file is a part of Pachli.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify it under the terms of the
|
|
* GNU General Public License as published by the Free Software Foundation; either version 3 of the
|
|
* License, or (at your option) any later version.
|
|
*
|
|
* Pachli is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
|
|
* the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
|
* Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License along with Pachli; if not,
|
|
* see <http://www.gnu.org/licenses>.
|
|
*/
|
|
|
|
plugins {
|
|
alias(libs.plugins.google.ksp)
|
|
alias(libs.plugins.apollographql)
|
|
alias(libs.plugins.pachli.tool)
|
|
}
|
|
|
|
application {
|
|
mainClass = "app.pachli.mkserverversions.MainKt"
|
|
}
|
|
|
|
dependencies {
|
|
implementation(libs.apollo.runtime)
|
|
|
|
implementation(libs.moshi)
|
|
ksp(libs.moshi.codegen)
|
|
}
|
|
|
|
apollo {
|
|
service("service") {
|
|
packageName = "app.pachli.mkserverversions.fediverseobserver"
|
|
}
|
|
}
|