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

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

	commons_cli_version 			= '1.4'
	commons_collections_version 	= '3.2.2'
	commons_configuration_version	= '2.3'
	commons_text_version			= '1.6'
	commons_io_version 				= '2.6'
	commons_lang_version 			= '3.8.1'
	commons_logging_version 		= '1.1'
	commons_vfs2_version 			= '2.2'
	groovy_version 					= '2.5.7'
	jna_version 					= '5.3.1'
	platform_version 				= '5.3.1'
	netty_version 					= 'all-4.1.36.Final'
	automaton_version 				= '1.11'
	formsrt_version 				= ''
	forms_version 					= '1.2.0'
	velocity_version 				= '1.7'
	glazedlists_version 			= '1.10.0_java16'
	commons_beanutils_version 		= '1.9.3'
	yacron4j_version 				= '00.03'
	joda_time_version 				= '2.7'
}
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/yajsw", 
    "$extendedLibsDir/groovy", 
    "$extendedLibsDir/regex", 
    "$extendedLibsDir/cron",
    "$extendedLibsDir/commons",
    "$extendedLibsDir/abeille",
    "$extendedLibsDir/jgoodies",
    "$extendedLibsDir/glazedlists",
    "$extendedLibsDir/velocity"
    
    }
	}
    



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

}



