Skip to content

Commit

Permalink
Correct plugin id for com.github.jruby-gradle.war
Browse files Browse the repository at this point in the history
Rename gradle project for the base plugin to jruby-gradle-base-plugin
  • Loading branch information
UweKubosch committed May 16, 2023
1 parent d034c13 commit f36eb27
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
4 changes: 1 addition & 3 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
version=2.1.0-beta.0
group=com.github.jruby-gradle
copyrightYear=2014-2020
copyrightYear=2014-2023

org.gradle.daemon=true
org.gradle.caching=true
org.gradle.parallel=false
org.gradle.configureondemand=false

bintrayUser=
bintrayKey=
releaseBuild=false

targetCompatibility=1.8
Expand Down
4 changes: 2 additions & 2 deletions jar-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ configurations {
}

generateTestConfig {
testProperties mavenrepo: new File(project(':jruby-gradle-plugin').projectDir,'src/integTest/mavenrepo').absolutePath,
testProperties mavenrepo: new File(project(':jruby-gradle-base-plugin').projectDir,'src/integTest/mavenrepo').absolutePath,
flatrepo: testRepoDir.absolutePath
}

dependencies {
compile project(':jruby-gradle-plugin')
compile project(':jruby-gradle-base-plugin')
/*
* NOTE: version 5.0.0 of the shadow plugin supports only Gradle 5.x and later
*/
Expand Down
2 changes: 1 addition & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
['base','war','jar', 'core'].each { mod ->
def fName = "jruby-gradle${(mod == 'base') ? '' : ('-' + mod)}-plugin"
def fName = "jruby-gradle-${mod}-plugin"

include fName
project(":${fName}").projectDir = file("${mod}-plugin")
Expand Down
4 changes: 2 additions & 2 deletions war-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ description = 'This plugin encapsulates web archive building functionality for J


dependencies {
compile project(':jruby-gradle-plugin')
compile project(':jruby-gradle-base-plugin')
compile group: 'com.github.jruby-gradle', name: 'warbler-bootstrap', version: '0.2.0+'

testCompile(spockVersion) {
Expand All @@ -17,7 +17,7 @@ artifacts {
pluginBundle {
plugins {
gradlePlugin {
id = 'com.github.jruby-gradle.jar'
id = 'com.github.jruby-gradle.war'
displayName = 'JRuby/Gradle base plugin'
description = 'This plugin encapsulates building deployable WARs using JRuby'
tags = (['jruby', 'war'])
Expand Down

0 comments on commit f36eb27

Please sign in to comment.