<commit_before>grails.project.work.dir = 'target'
grails.project.docs.output.dir = 'docs/manual' // for backwards-compatibility, the docs are checked into gh-pages branch
grails.project.source.level = 1.6

grails.project.dependency.resolution = {

	inherits 'global'
	log 'warn'

	repositories {
		grailsCentral()
		mavenLocal()
		mavenCentral()
	}

	dependencies {

		String shiroVersion = '1.2.1'
		def common = ['easymock', 'groovy-all', 'jcl-over-slf4j', 'junit', 'log4j', 'slf4j-log4j12']

		compile "org.apache.shiro:shiro-aspectj:$shiroVersion", {
			excludes((common + ['aspectjrt', 'aspectjweaver']) as Object[])
		}

		compile "org.apache.shiro:shiro-core:$shiroVersion", {
			excludes((common + ['commons-beanutils', 'hsqldb', 'slf4j-api']) as Object[])
		}

		compile "org.apache.shiro:shiro-spring:$shiroVersion", {
			excludes((common + ['servlet-api', 'spring-context', 'spring-test']) as Object[])
		}

		compile "org.apache.shiro:shiro-web:$shiroVersion", {
			excludes((common + ['jsp-api', 'jstl', 'servlet-api']) as Object[])
		}
	}

	plugins {
		compile ':spring-security-core:1.2.7.3'

		compile(":hibernate:$grailsVersion") {
			export = false
		}

		build(':release:2.1.0', ':rest-client-builder:1.0.3') {
			export = false
		}
	}
}
<commit_msg>upgrade to shiro v1.2.2<commit_after>grails.project.work.dir = 'target'
grails.project.docs.output.dir = 'docs/manual' // for backwards-compatibility, the docs are checked into gh-pages branch
grails.project.source.level = 1.6

grails.project.dependency.resolution = {

	inherits 'global'
	log 'warn'

	repositories {
		grailsCentral()
		mavenLocal()
		mavenCentral()
	}

	dependencies {

		String shiroVersion = '1.2.2'
		def common = ['easymock', 'groovy-all', 'jcl-over-slf4j', 'junit', 'log4j', 'slf4j-log4j12']

		compile "org.apache.shiro:shiro-aspectj:$shiroVersion", {
			excludes((common + ['aspectjrt', 'aspectjweaver']) as Object[])
		}

		compile "org.apache.shiro:shiro-core:$shiroVersion", {
			excludes((common + ['commons-beanutils', 'hsqldb', 'slf4j-api']) as Object[])
		}

		compile "org.apache.shiro:shiro-spring:$shiroVersion", {
			excludes((common + ['servlet-api', 'spring-context', 'spring-test']) as Object[])
		}

		compile "org.apache.shiro:shiro-web:$shiroVersion", {
			excludes((common + ['jsp-api', 'jstl', 'servlet-api']) as Object[])
		}
	}

	plugins {
		compile ':spring-security-core:1.2.7.3'

		compile(":hibernate:$grailsVersion") {
			export = false
		}

		build(':release:2.1.0', ':rest-client-builder:1.0.3') {
			export = false
		}
	}
}

{'fraction_non_alphanumeric': 0.1836734693877551, 'fraction_numerical': 0.018445839874411302, 'mean_word_length': 4.266528925619835, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5305346', 'n_tokens_mistral': 1081, 'n_tokens_neox': 941, 'n_words': 157}