aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/language-ide/build.gradle.kts
blob: 28a460e89486ae3814c42fc743377145f6e05e02 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
plugins {
	id("refinery-java-library")
	id("refinery-xtext-conventions")
}

dependencies {
	api(project(":refinery-language"))
	api(libs.xtext.ide)
	api(libs.xtext.xbase.ide)
}

val generateXtextLanguage by project(":refinery-language").tasks.existing

for (taskName in listOf("compileJava", "processResources")) {
	tasks.named(taskName) {
		dependsOn(generateXtextLanguage)
	}
}