@@ -6,24 +6,22 @@ buildscript {
66 includeVersionByRegex ' org[.]apache[.]((grails)|(groovy)).*' , ' .*' , ' .*-SNAPSHOT'
77 }
88 }
9+ maven {
10+ url = ' https://central.sonatype.com/repository/maven-snapshots'
11+ content {
12+ includeVersionByRegex ' cloud[.]wondrify' , ' .*' , ' .*-SNAPSHOT'
13+ }
14+ }
915 maven { url = ' https://repo.grails.org/grails/restricted' }
1016 }
1117 dependencies {
1218 classpath platform(" org.apache.grails:grails-bom:$grailsVersion " )
13- classpath " org.apache.grails:grails-gradle-plugins"
19+ classpath ' org.apache.grails:grails-gradle-plugins'
20+ classpath ' org.apache.grails.gradle:grails-publish'
21+ classpath ' cloud.wondrify:asset-pipeline-gradle'
1422 }
1523}
1624
17- plugins {
18- id " java-library"
19- id " idea"
20- id " eclipse"
21- id " maven-publish"
22- }
23-
24- apply plugin : ' org.apache.grails.gradle.grails-plugin'
25- apply plugin : " org.apache.grails.gradle.grails-publish"
26-
2725// Define this in ~/.gradle/gradle.properties
2826ext {
2927 useMavenLocal = project. findProperty(' useMavenLocal' ) ?: false
@@ -48,56 +46,43 @@ allprojects {
4846 }
4947}
5048
51- version projectVersion
52- group ' org.grails.plugins'
53-
54- compileJava. options. release = 17
49+ version = projectVersion
50+ group = " org.grails.plugins"
5551
56- dependencies {
57- implementation platform(" org.apache.grails:grails-bom:$grailsVersion " )
58- compileOnly ' org.apache.grails:grails-core'
59- compileOnly ' org.apache.grails.views:grails-web-taglib'
52+ subprojects { Project project ->
53+ project. version = rootProject. version
54+ project. group = rootProject. group
6055
61- implementation ' com.vladsch.flexmark:flexmark-all:0.64.8'
56+ tasks. withType(Test ). configureEach {
57+ useJUnitPlatform()
6258
63- console ' org.apache.grails:grails-console'
64-
65- testImplementation ' org.apache.grails:grails-testing-support-web'
66- testImplementation " org.spockframework:spock-core"
67- }
68-
69- tasks. withType(Test ). configureEach {
70- useJUnitPlatform()
71-
72- testLogging {
73- showStandardStreams = true
74- exceptionFormat = ' full'
59+ testLogging {
60+ showStandardStreams = true
61+ exceptionFormat = ' full'
62+ }
7563 }
76- }
7764
78- grailsPublish {
79- githubSlug = ' grails-plugins/grails-markdown'
80- license {
81- name = ' Apache-2.0'
65+ if (project. name. endsWith(' grails-markdown' )) {
66+ apply plugin : " org.apache.grails.gradle.grails-publish"
67+ grailsPublish {
68+ githubSlug = ' grails-plugins/grails-markdown'
69+ license {
70+ name = ' Apache-2.0'
71+ }
72+ title = " Grails Markdown Plugin"
73+ desc = " Grails Markdown Plugin for Grails 7+"
74+ developers = [
75+ robertoschwald : " Robert Oschwald" ,
76+ longwa : " Aaron Long" ,
77+ elkr : " Elmar Kretzer" ,
78+ jamesfredley : " James Fredley" ,
79+ jdaugherty : " James Daugherty" ,
80+ rahulshishodia : " Rahul Shishodia" ,
81+ sbglasius : " Søren Berg Glasius"
82+ ]
83+ websiteUrl = " https://github.com/grails-plugins/grails-markdown"
84+ issueTrackerUrl = " https://github.com/grails-plugins/grails-markdown/issues"
85+ vcsUrl = " https://github.com/grails-plugins/grails-markdown"
86+ }
8287 }
83- title = " Grails Markdown Plugin"
84- desc = " Grails Markdown Plugin for Grails 7+"
85- developers = [
86- robertoschwald : " Robert Oschwald" ,
87- longwa : " Aaron Long" ,
88- elkr : " Elmar Kretzer" ,
89- jamesfredley : " James Fredley" ,
90- jdaugherty : " James Daugherty" ,
91- rahulshishodia : " Rahul Shishodia" ,
92- sbglasius : " Søren Berg Glasius"
93- ]
94- websiteUrl = " https://github.com/grails-plugins/grails-markdown"
95- issueTrackerUrl = " https://github.com/grails-plugins/grails-markdown/issues"
96- vcsUrl = " https://github.com/grails-plugins/grails-markdown"
97- }
98-
99- bootJar. enabled = false
100-
101- grails {
102- springDependencyManagement = false
10388}
0 commit comments