@@ -3,20 +3,21 @@ buildscript {
33        grailsVersion =  project. grailsVersion
44    }
55    repositories {
6-         mavenLocal()
76        maven { url " https://repo.grails.org/grails/core" 
87    }
98    dependencies {
10-         classpath " org.grails:grails-gradle-plugin:$grailsVersion  " 
11-         classpath " com.bertramlabs.plugins:asset-pipeline-gradle:3.0.7" 
9+         classpath " org.grails:grails-gradle-plugin:$grailsGradlePluginVersion  " 
1210    }
1311}
1412
15- version file(" $rootDir  /version.txt" . text. trim()
13+ plugins  {
14+   id " com.bertramlabs.asset-pipeline" " $assetPipelineVersion  " 
15+ }
16+ 
17+ version project. projectVersion
1618group " audit.test" 
1719
1820apply plugin : " war" 
19- apply plugin : " asset-pipeline" 
2021apply plugin : ' eclipse' 
2122apply plugin : ' idea' 
2223apply plugin : " org.grails.grails-web" 
@@ -37,58 +38,50 @@ repositories {
3738    maven { url " https://repo.grails.org/grails/core" 
3839}
3940
40- grails  {
41-     plugins {
42-         compile project(" :audit-logging" 
43-     }
44- }
45- 
4641configurations  {
4742    developmentOnly
48-     runtimeClasspath  {
43+     runtimeOnlyClasspath  {
4944        extendsFrom developmentOnly
5045    }
5146}
5247
5348dependencies  {
54-     developmentOnly( " org.springframework.boot:spring-boot-devtools" ) 
55-     compile  " org.springframework.boot:spring-boot-starter-logging" 
56-     compile  " org.springframework.boot:spring-boot-autoconfigure" 
57-     compile  " org.grails:grails-core " 
58-     compile  " org.springframework.boot:spring-boot-starter-actuator " 
59-     compile  " org.springframework.boot:spring-boot-starter-tomcat " 
60-     compile  " org.grails:grails-web-boot " 
61-     compile  " org.grails:grails-logging " 
62-     compile  " org.grails:grails-plugin-rest " 
63-     compile  " org.grails:grails-plugin-databinding " 
64-     compile  " org.grails:grails-plugin-i18n " 
65-     compile  " org.grails:grails-plugin-services " 
66-     compile  " org.grails:grails-plugin-url-mappings " 
67-     compile  " org.grails:grails-plugin-interceptors " 
68-     compile  " org.grails.plugins:cache " 
69-     compile  " org.grails.plugins:async " 
70-     compile  " org.grails.plugins:scaffolding " 
71-     compile  " org.grails.plugins:events " 
72-     compile  " org.grails.plugins:hibernate5 " 
73-     compile  " org.hibernate:hibernate-core:5.4.0.Final " 
74-     compile  " org.hibernate:hibernate-ehcache:5.4.0.Final " 
75-     compile  " org.grails.plugins:gsp " 
49+     developmentOnly  " org.springframework.boot:spring-boot-devtools" 
50+     compileOnly  " org.springframework.boot:spring-boot-starter-logging" 
51+     compileOnly  " org.springframework.boot:spring-boot-autoconfigure" 
52+     compileOnly  " org.springframework.boot:spring-boot-starter-actuator " 
53+     compileOnly  " org.springframework.boot:spring-boot-starter-tomcat " 
54+     compileOnly  " org.grails:grails-web-boot " 
55+     compileOnly  " org.grails:grails-logging " 
56+     compileOnly  " org.grails:grails-plugin-rest " 
57+     compileOnly  " org.grails:grails-plugin-databinding " 
58+     compileOnly  " org.grails:grails-plugin-i18n " 
59+     compileOnly  " org.grails:grails-plugin-services " 
60+     compileOnly  " org.grails:grails-plugin-url-mappings " 
61+     compileOnly  " org.grails:grails-plugin-interceptors " 
62+     compileOnly  " org.grails.plugins:cache " 
63+     compileOnly  " org.grails.plugins:async " 
64+     compileOnly  " org.grails.plugins:scaffolding " 
65+     compileOnly  " org.grails.plugins:events " 
66+     compileOnly  " org.grails.plugins:gsp " 
67+     implementation  " org.grails:grails-core " 
68+     implementation project( " :audit-logging " ) 
69+     implementation  " org.apache.groovy:groovy " 
70+     implementation  " org.grails.plugins:hibernate5 " 
7671    console " org.grails:grails-console" 
7772    profile " org.grails.profiles:web" 
78-     runtime " org.glassfish.web:el-impl:2.1.2-b03" 
79-     runtime " com.h2database:h2" 
80-     runtime " org.apache.tomcat:tomcat-jdbc" 
81-     runtime " javax.xml.bind:jaxb-api:2.3.0" 
82-     runtime " com.bertramlabs.plugins:asset-pipeline-grails:3.0.7" 
83-     testCompile " org.grails:grails-gorm-testing-support" 
84-     testCompile " org.mockito:mockito-core" 
85-     testCompile " org.grails:grails-web-testing-support" 
86-     testCompile " org.grails.plugins:geb" 
87-     testCompile " org.seleniumhq.selenium:selenium-remote-driver:3.14.0" 
88-     testCompile " org.seleniumhq.selenium:selenium-api:3.14.0" 
89-     testCompile " org.seleniumhq.selenium:selenium-support:3.14.0" 
90-     testRuntime " org.seleniumhq.selenium:selenium-chrome-driver:3.14.0" 
91-     testRuntime " org.seleniumhq.selenium:selenium-firefox-driver:3.14.0" 
73+     runtimeOnly " com.h2database:h2" 
74+     runtimeOnly " org.apache.tomcat:tomcat-jdbc" 
75+     runtimeOnly " com.bertramlabs.plugins:asset-pipeline-grails" 
76+     testImplementation " org.grails:grails-gorm-testing-support" 
77+     testImplementation " org.grails:grails-web-testing-support" 
78+     testCompileOnly " org.mockito:mockito-core" 
79+     testCompileOnly " org.grails.plugins:geb" 
80+     testCompileOnly " org.seleniumhq.selenium:selenium-remote-driver:3.14.0" 
81+     testCompileOnly " org.seleniumhq.selenium:selenium-api:3.14.0" 
82+     testCompileOnly " org.seleniumhq.selenium:selenium-support:3.14.0" 
83+     testRuntimeOnly " org.seleniumhq.selenium:selenium-chrome-driver:3.14.0" 
84+     testRuntimeOnly " org.seleniumhq.selenium:selenium-firefox-driver:3.14.0" 
9285}
9386
9487task wrapper (type : Wrapper ) {
0 commit comments