-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
74 lines (65 loc) · 2.04 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
67
68
69
70
71
72
73
74
buildscript {
repositories {
maven { url "https://repo.grails.org/grails/core" }
}
dependencies {
classpath "org.grails:grails-gradle-plugin:$grailsVersion"
}
}
version "0.0.1"
group "com.wizpanda.plugins"
apply plugin: "eclipse"
apply plugin: "idea"
apply plugin: "org.grails.grails-plugin"
apply plugin: "org.grails.grails-plugin-publish"
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"
provided "org.grails.plugins:spring-security-core:4.0.2"
testCompile "org.grails:grails-gorm-testing-support"
testCompile "org.mockito:mockito-core"
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
grailsPublish {
githubSlug = "wizpanda/spring-security-rest"
userOrg = "wizpanda"
repo = "grails-plugins"
license {
name = "Apache-2.0"
}
title = "Spring Security Core"
desc = "Grails plugin to implement token-based, RESTful authentication using Spring Security"
developers = [sagrawal31: "Shashank Agrawal"]
}