summaryrefslogtreecommitdiff
path: root/build.gradle.kts
blob: 694b647744ed3a5782397578e326671498b8b3d1 (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
27
28
29
allprojects {
	group = "moe.nea"
	version = "1.0-SNAPSHOT"

	repositories {
		mavenCentral()
	}

	tasks.withType(Test::class) {
		useJUnitPlatform()
	}
}
subprojects {
	apply(plugin = "org.gradle.java-library")
	apply(plugin = "org.gradle.maven-publish")
	dependencies {
		"api"("org.jspecify:jspecify:1.0.0")
		"testImplementation"("org.junit.jupiter:junit-jupiter-api:5.8.1")
		"testRuntimeOnly"("org.junit.jupiter:junit-jupiter-engine:5.8.1")
	}

	configure<PublishingExtension> {
		publications {
			create<MavenPublication>("maven") {
				from(components[("java")])
			}
		}
	}
}