Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 004c8614fb1a12e4f1a17916f967a3b9dafa8caa (plain) (blame)
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
plugins {
	id 'java'
}

apply from: etGenerator

def models = [
	'model/ALogService.room',
	'model/TcpService.room',
	'model/TimingService.room'
]

dependencies {
	compile project(':runtime:org.eclipse.etrice.runtime.java')
}

sourceSets {
	main {
		java {
			srcDirs = ['src-gen']
		}
	}
}

createGeneratorTask('generate', 'java', models, 'src-gen', '-lib')

compileJava.dependsOn generate

clean.delete 'src-gen'

Back to the top