-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
50 lines (41 loc) · 1.18 KB
/
build.gradle.kts
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
plugins {
`java-library`
`java-gradle-plugin`
alias(libs.plugins.kotlin)
alias(libs.plugins.ktlint)
alias(libs.plugins.plugin.publishing)
}
group = "com.bybutter.sisyphus.tools"
version = "2.1.0"
description = "Plugin for compiling proto files with Gradle in Sisyphus Framework"
repositories {
mavenCentral()
google()
gradlePluginPortal()
}
dependencies {
implementation(libs.sisyphus.common)
implementation(libs.sisyphus.protoc)
implementation(libs.sisyphus.protocRunner)
compileOnly(libs.gradle.android)
testImplementation(kotlin("test"))
}
gradlePlugin {
website.set("https://sisyphus.bybutter.com")
vcsUrl.set("https://github.com/ButterCam/sisyphus-protobuf-gradle-plugin")
plugins {
create("protobuf") {
id = "com.bybutter.sisyphus.protobuf"
displayName = "Sisyphus Protobuf Plugin"
description = "Protobuf compiler plugin for sisyphus framework."
implementationClass = "com.bybutter.sisyphus.protobuf.gradle.ProtobufPlugin"
tags.set(listOf("sisyphus", "protobuf", "grpc"))
}
}
}
tasks.test {
useJUnitPlatform()
}
kotlin {
jvmToolchain(17)
}