TAP5-2451: use JUnit for the tests
Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/eb29cdd2 Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/eb29cdd2 Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/eb29cdd2 Branch: refs/heads/master Commit: eb29cdd2dd2f3a51b6cecec6b1c6c0e43197c099 Parents: ab27378 Author: Jochen Kemnade <[email protected]> Authored: Fri Mar 13 11:11:42 2015 +0100 Committer: Jochen Kemnade <[email protected]> Committed: Fri Mar 13 11:13:35 2015 +0100 ---------------------------------------------------------------------- tapestry-ioc-jcache/build.gradle | 56 +++++++++++++++++++---------------- 1 file changed, 30 insertions(+), 26 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/eb29cdd2/tapestry-ioc-jcache/build.gradle ---------------------------------------------------------------------- diff --git a/tapestry-ioc-jcache/build.gradle b/tapestry-ioc-jcache/build.gradle index da2c9f4..5be97cd 100644 --- a/tapestry-ioc-jcache/build.gradle +++ b/tapestry-ioc-jcache/build.gradle @@ -1,26 +1,30 @@ -import org.gradle.plugins.ide.idea.model.* -import t5build.* - -description = "JCache (JSR 107) integration for Tapestry-IoC" - -//apply plugin: JavaPlugin - -project.ext.libraryVersions = [ - jcache: '1.0.0', -] - -dependencies { - /*compile "org.apache.tapestry:tapestry-ioc:${tapestryVersion()}"*/ - provided project(":tapestry-ioc") - compile "javax.cache:cache-api:${libraryVersions.jcache}" - compile "org.jsr107.ri:cache-annotations-ri-common:${libraryVersions.jcache}" - testCompile "javax.cache:cache-tests:${libraryVersions.jcache}" - testCompile "javax.cache:test-domain:${libraryVersions.jcache}" - testRuntime "org.infinispan:infinispan-jcache:7.0.0.Alpha4" /* Just to be able to run the tests */ -} - -jar { - manifest { - attributes 'Tapestry-Module-Classes': 'org.apache.tapestry5.jcache.module.JCacheModule' - } -} +import org.gradle.plugins.ide.idea.model.* +import t5build.* + +description = "JCache (JSR 107) integration for Tapestry-IoC" + +//apply plugin: JavaPlugin + +project.ext.libraryVersions = [ + jcache: '1.0.0', +] + +dependencies { + /*compile "org.apache.tapestry:tapestry-ioc:${tapestryVersion()}"*/ + provided project(":tapestry-ioc") + compile "javax.cache:cache-api:${libraryVersions.jcache}" + compile "org.jsr107.ri:cache-annotations-ri-common:${libraryVersions.jcache}" + testCompile "javax.cache:cache-tests:${libraryVersions.jcache}" + testCompile "javax.cache:test-domain:${libraryVersions.jcache}" + testRuntime "org.infinispan:infinispan-jcache:7.0.0.Alpha4" /* Just to be able to run the tests */ +} + +jar { + manifest { + attributes 'Tapestry-Module-Classes': 'org.apache.tapestry5.jcache.module.JCacheModule' + } +} + +test { + useJUnit() +}
