Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ apply from: "jacoco.gradle"

group "ru.endlesscode"
description "Bukkit Gradle integration plugins"
version "0.6.6"
version "0.6.7"

sourceCompatibility = targetCompatibility = JavaVersion.VERSION_1_8

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class BukkitGradlePlugin implements Plugin<Project> {

maven {
name = "sk89q"
url = "http://maven.sk89q.com/repo/org/sk89q/"
url = "http://maven.sk89q.com/repo/"
}

maven {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,6 @@ class MetaFile {
}

metaFile.eachLine { line ->
line = line.trim()
if (isStaticLine(line)) {
staticLines << line
}
Expand Down
4 changes: 3 additions & 1 deletion src/test/groovy/ru/endlesscode/bukkitgradle/TestBase.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,9 @@ main: com.example.plugin.Plugin_s
author: OsipXD
website: www.example_s.com

depend: [Vault, ProtocolLib]'''
depend: [Vault, ProtocolLib]
command:
example'''
}

protected void executeTask(Task task) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class MetaFileTest extends TestBase {

@Test
void testRemovingMetaLines() throws Exception {
assertEquals(["depend: [Vault, ProtocolLib]"], this.target.readLines())
assertEquals(["depend: [Vault, ProtocolLib]", "command:", " example"], this.target.readLines())
}

@Test
Expand All @@ -37,7 +37,9 @@ class MetaFileTest extends TestBase {
"version: 0.1",
"website: http://www.example.com/",
"authors: [OsipXD, Contributors]",
"depend: [Vault, ProtocolLib]"
"depend: [Vault, ProtocolLib]",
"command:",
" example"
]

this.metaFile.writeTo(target)
Expand Down