-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathbuild.gradle
48 lines (44 loc) · 1.4 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
buildscript {
repositories {
maven { url "https://repo.grails.org/grails/core" }
}
dependencies {
classpath platform("org.grails:grails-bom:$grailsVersion")
classpath "org.grails:grails-gradle-plugin"
}
}
allprojects {
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")
}
}
}
}
}
group = "org.grails.plugins"
version = project.projectVersion
subprojects {
if(project.name == 'plugin') {
version = projectVersion
group = "org.grails.plugins"
apply plugin:"org.grails.grails-publish"
grailsPublish {
artifactId = 'cache'
githubSlug = "grails/grails-cache"
license {
name = 'Apache-2.0'
}
title = "Grails Cache Plugin"
desc = "Provides AST transformations for caching method calls"
developers = [jeffbrown: "Jeff Scott Brown", "puneetbehl": "Puneet Behl"]
}
}
}