Skip to content

Commit

Permalink
Merge pull request #12 from progress/zerovian/fix_maven2_location
Browse files Browse the repository at this point in the history
fix plugin name and maven2 location
  • Loading branch information
zerovian authored Jan 29, 2020
2 parents 4f6813a + 712b37d commit 545aee1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -86,13 +86,13 @@ def pluginList = [
new GradlePluginMetaData(
"${project.name}-base",
'A Gradle base plugin for ABL language support based on PCT',
'oe.espresso.latte.latte-base',
'oe.espresso.latte-base',
'oe.espresso.latte.LatteBasePlugin'
),
new GradlePluginMetaData(
"${project.name}",
'A Gradle plugin for ABL language support based on PCT',
'oe.espresso.latte.latte',
'oe.espresso.latte',
"oe.espresso.latte.LattePlugin"
)
]
Expand Down
2 changes: 1 addition & 1 deletion src/main/groovy/oe/espresso/latte/LatteBasePlugin.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class LatteBasePlugin implements Plugin<Project> {
void addRsswRepository(Project target) {
target.repositories {
maven {
url 'https://repo1.maven.org'
url 'https://repo1.maven.org/maven2'
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class LatteBasePluginTest extends Specification {

def setup() {
project = ProjectBuilder.builder().build()
project.pluginManager.apply 'oe.espresso.latte.latte-base'
project.pluginManager.apply 'oe.espresso.latte-base'
}

def 'can be applied'() {
Expand Down
2 changes: 1 addition & 1 deletion src/test/groovy/oe/espresso/latte/LattePluginTest.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class LattePluginTest {
@Before
void setup() {
project = ProjectBuilder.builder().build()
project.pluginManager.apply 'oe.espresso.latte.latte'
project.pluginManager.apply 'oe.espresso.latte'
}

@Test
Expand Down

0 comments on commit 545aee1

Please sign in to comment.