aboutsummaryrefslogtreecommitdiff
path: root/kotlin-plugin/build.gradle.kts
blob: 0db911d3a18ddb179cda4fd12dd442a20cbed76f (plain)
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
plugins {
	kotlin("jvm")
	id("com.google.devtools.ksp")
	`maven-publish`
}

dependencies {
	compileOnly("org.jetbrains.kotlin:kotlin-compiler-embeddable")
	implementation("com.google.devtools.ksp:symbol-processing-api:1.9.23-1.0.20")
	implementation(project(":annotations"))

	ksp("dev.zacsweers.autoservice:auto-service-ksp:1.2.0")
	compileOnly("com.google.auto.service:auto-service-annotations:1.0.1")

	testImplementation(kotlin("test-junit5"))
	testImplementation("org.jetbrains.kotlin:kotlin-compiler-embeddable")
	testImplementation("dev.zacsweers.kctfork:core:0.5.1")
	testImplementation("dev.zacsweers.kctfork:ksp:0.5.1")
}


publishing.publications {
	create("maven", MavenPublication::class.java) {
		from(components["java"])
	}
}