task createWrapper(type: Wrapper) {
    //gradleVersion = '0.9.2'
    gradleVersion = '5.4.1'
}

ext {
	projectHome = 'Z:/dev/yajsw2021' //'../..'
	coreLibsDir = new File("$projectHome/lib/core").getAbsolutePath()
	println "$coreLibsDir"
	extendedLibsDir = new File("$projectHome/lib/extended").getAbsolutePath()
// dependency versions

	commons_cli_version 			= '1.5.0'
	commons_collections_version 	= '3.2.2'
	commons_configuration_version	= '2.8.0'
	commons_text_version			= '1.10.0'
	commons_io_version 				= '2.11.0'
	commons_lang_version 			= '3.12.0'
	commons_logging_version 		= '1.2'
	commons_vfs2_version 			= '2.9.0'
	groovy_version 					= '4.0.0'
	jna_version 					= '5.12.1'
	platform_version 				= '5.12.1'
	netty_version 					= '4.1.86.Final'
	automaton_version 				= '1.11'
	formsrt_version 				= ''
	forms_version 					= '1.2.0'
	velocity_version 				= 'engine-core-2.3'
	slf4j_version 					= 'api-1.7.30'
	glazedlists_version 			= '1.10.0_java16'
	commons_beanutils_version 		= '1.9.3'
	yacron4j_version 				= '00.03'
	joda_time_version 				= '2.7'
	permit_version					= '0.4'
}
defaultTasks 'clean', 'build'

// common settings for all sub-projects
allprojects  {

apply plugin: 'java'
defaultTasks 'clean', 'build'


println ">> $coreLibsDir"



// for simplicity and to avoid dependency issues which arise due to the usage of SNAPSHOT libs
// we use libs from local disk instead of public repository
repositories {
    flatDir { 
    dirs "$coreLibsDir/commons", "$coreLibsDir/jna", "$coreLibsDir/netty", "$coreLibsDir/permit", 
    "$coreLibsDir/yajsw", 
    "$extendedLibsDir/groovy", 
    "$extendedLibsDir/regex", 
    "$extendedLibsDir/cron",
    "$extendedLibsDir/commons",
    "$extendedLibsDir/abeille",
    "$extendedLibsDir/jgoodies",
    "$extendedLibsDir/glazedlists",
    "$extendedLibsDir/slf4j",
    "$extendedLibsDir/velocity"
    
    }
	}
    



sourceCompatibility = 1.8
targetCompatibility = 1.8
//options.bootClasspath = "${System.getProperty('java6.home')}/jre/lib/rt.jar"
version = ''

}



