Skip to content

Commit

Permalink
Merge pull request #13968 from jdaugherty/7.0.x
Browse files Browse the repository at this point in the history
Remove grails gradle plugin usage since the plugins are not full grails apps
  • Loading branch information
jdaugherty authored Jan 11, 2025
2 parents 099c51a + 7f362e6 commit 13862a4
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 40 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ subprojects { subproject ->
uri('https://repo.grails.org/grails/plugins3-snapshots-local') :
uri('https://repo.grails.org/grails/libs-snapshots-local')
} else {
url 'https://maven.pkg.github.com/grails/grails-core'
url('https://maven.pkg.github.com/grails/grails-core')
}
}
}
Expand Down
12 changes: 0 additions & 12 deletions grails-async/plugin/build.gradle
Original file line number Diff line number Diff line change
@@ -1,15 +1,3 @@
buildscript {
repositories {
maven { url = 'https://repo.grails.org/grails/core' }
}
dependencies {
classpath "org.grails:grails-gradle-plugin:${project['grails-gradle-plugin.version']}"
}
}

apply plugin: 'org.grails.grails-web'
apply plugin: 'org.grails.grails-plugin'

dependencies {
implementation platform(project(':grails-bom'))

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ class AsciiDocEngine extends DocEngine {
]
@Override
String render(String content, RenderContext context) {
Attributes attrs = Attributes.builder().build()
attrs.setAttributes(attributes)

def optionsBuilder = Options.builder()
.standalone(false)
.attributes(Attributes.builder()
.imagesDir(attributes['imagesdir'])
.sourceHighlighter(attributes[ 'source-highlighter'])
.icons('icons').build())
.attributes(attrs)

if (attributes.containsKey('safe')) {
optionsBuilder.safe(SafeMode.valueOf(attributes.get('safe').toString()))
Expand Down
11 changes: 0 additions & 11 deletions grails-events/plugin/build.gradle
Original file line number Diff line number Diff line change
@@ -1,20 +1,9 @@
buildscript {
repositories {
maven { url = 'https://repo.grails.org/grails/core' }
}
dependencies {
classpath "org.grails:grails-gradle-plugin:${project['grails-gradle-plugin.version']}"
}
}

plugins {
id 'groovy'
id 'java'
id 'java-library'
}

apply plugin: 'org.grails.grails-plugin'

dependencies {
implementation platform(project(':grails-bom'))

Expand Down
12 changes: 0 additions & 12 deletions grails-plugin-converters/build.gradle
Original file line number Diff line number Diff line change
@@ -1,20 +1,8 @@
import org.springframework.boot.gradle.tasks.bundling.BootJar

buildscript {
repositories {
maven { url = 'https://repo.grails.org/grails/core' }
}
dependencies {
classpath "org.grails:grails-gradle-plugin:${project['grails-gradle-plugin.version']}"
}
}

group = 'org.grails.plugins'
version = projectVersion

apply plugin: 'groovy'
apply plugin: 'java-library'
apply plugin: 'org.grails.grails-plugin'

dependencies {
implementation platform(project(':grails-bom'))
Expand Down

0 comments on commit 13862a4

Please sign in to comment.