-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathbuild.gradle
43 lines (38 loc) · 1.13 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
plugins {
id 'java-library'
id 'org.grails.grails-plugin'
id 'org.grails.grails-gsp'
id 'org.grails.grails-publish'
}
version = project.projectVersion
group = 'org.grails.plugins'
repositories {
mavenCentral()
maven { url = 'https://repo.grails.org/grails/core' }
if (System.getenv("GITHUB_MAVEN_PASSWORD") && !grailsVersion.endsWith('-SNAPSHOT')) {
System.out.println("Adding Grails Core Repo")
maven {
url = 'https://maven.pkg.github.com/grails/grails-core'
credentials {
username = 'DOES_NOT_MATTER'
password = System.getenv("GITHUB_MAVEN_PASSWORD")
}
}
}
}
compileJava.options.release = 17
dependencies {
implementation platform("org.grails:grails-bom:$grailsVersion")
api "org.grails:grails-plugin-rest"
api "org.grails.plugins:fields"
compileOnly "jline:jline"
}
grailsPublish {
githubSlug = 'grails/scaffolding'
license {
name = 'Apache-2.0'
}
title = 'Grails Scaffolding Plugin'
desc = 'Provides scaffolding for Grails applications'
developers = [puneetbehl: 'Puneet Behl']
}