51 lines
1.4 KiB
Plaintext
51 lines
1.4 KiB
Plaintext
|
/*
|
||
|
* Copyright 2023 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>.
|
||
|
*/
|
||
|
|
||
|
@Suppress("DSL_SCOPE_VIOLATION") // TODO: Remove once KTIJ-19369 is fixed
|
||
|
plugins {
|
||
|
`java-gradle-plugin`
|
||
|
`maven-publish`
|
||
|
kotlin("jvm") version "1.9.10"
|
||
|
}
|
||
|
|
||
|
repositories {
|
||
|
google()
|
||
|
mavenCentral()
|
||
|
}
|
||
|
|
||
|
group = "app.pachli.plugins"
|
||
|
version = "0.0.1"
|
||
|
|
||
|
gradlePlugin {
|
||
|
plugins {
|
||
|
create("markdown2resource") {
|
||
|
id = "app.pachli.plugins.markdown2resource"
|
||
|
implementationClass = "app.pachli.plugins.markdown2resource.Markdown2ResourcePlugin"
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
implementation("com.android.tools.build:gradle:8.1.1")
|
||
|
implementation("org.jetbrains:markdown:0.5.0")
|
||
|
implementation("com.squareup:javapoet:1.12.1")
|
||
|
}
|
||
|
|
||
|
kotlin {
|
||
|
jvmToolchain(17)
|
||
|
}
|