Skip to main content
aboutsummaryrefslogblamecommitdiffstats
blob: 004c8614fb1a12e4f1a17916f967a3b9dafa8caa (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11



                 
                       
 




                                  












                                                                   

                                                                  


                              
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