buildscript {
	dependencies {
		classpath files(pluginClasspath.split(','))
	}
}

apply plugin: 'org.springframework.boot'
apply plugin: 'java'

repositories {
	flatDir { dirs 'libs' }
}

dependencies {
	def configurationName = GradleVersion.current().compareTo(GradleVersion.version("4.6")) >= 0 ? 'annotationProcessor': 'implementation'
	add(configurationName, [name: 'spring-boot-configuration-processor-1.2.3'])
}

compileJava {
	doLast {
		println "$name compiler args: ${options.compilerArgs}"
	}
}
