-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
66 lines (56 loc) · 1.9 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
buildscript {
repositories {
maven { url "https://repo.grails.org/grails/core" }
}
dependencies {
classpath "org.grails:grails-gradle-plugin:$grailsVersion"
}
}
version "0.0.2"
group "com.wizpanda"
apply plugin: "idea"
apply plugin: "org.grails.grails-plugin"
repositories {
maven { url "https://repo.grails.org/grails/core" }
}
configurations {
developmentOnly
runtimeClasspath {
extendsFrom developmentOnly
}
}
dependencies {
developmentOnly("org.springframework.boot:spring-boot-devtools")
compile "org.springframework.boot:spring-boot-starter-logging"
compile "org.springframework.boot:spring-boot-autoconfigure"
compile "org.grails:grails-core"
compileOnly "io.micronaut:micronaut-inject-groovy"
console "org.grails:grails-console"
profile "org.grails.profiles:plugin"
testCompile "org.grails:grails-gorm-testing-support"
testCompile "org.mockito:mockito-core"
compile "org.mongodb:bson:3.12.0"
provided "org.grails.plugins:hibernate5"
provided "org.hibernate:hibernate-core:5.4.0.Final"
provided "org.grails:grails-plugin-domain-class"
}
bootRun {
ignoreExitValue true
jvmArgs(
"-Dspring.output.ansi.enabled=always",
"-noverify",
"-XX:TieredStopAtLevel=1",
"-Xmx1024m")
sourceResources sourceSets.main
String springProfilesActive = "spring.profiles.active"
systemProperty springProfilesActive, System.getProperty(springProfilesActive)
}
tasks.withType(GroovyCompile) {
configure(groovyOptions) {
forkOptions.jvmArgs = ["-Xmx1024m"]
}
}
// enable if you wish to package this plugin as a standalone application
bootJar.enabled = false
apply from: "https://raw.githubusercontent.com/wizpanda/gradle-common/main/grails-plugin-jfrog-publish.gradle"
apply from: "https://raw.githubusercontent.com/wizpanda/gradle-common/main/bump-version.gradle"