Skip to content

Commit

Permalink
Add reproduction case for #6849
Browse files Browse the repository at this point in the history
  • Loading branch information
big-guy committed Oct 17, 2018
1 parent e9f4131 commit 74d918d
Showing 1 changed file with 25 additions and 0 deletions.
Expand Up @@ -194,4 +194,29 @@ task someTask
</application>
"""
}

@NotYetImplemented
@Issue("https://github.com/gradle/gradle/issues/6849")
def "can publish test-only projects"() {
using m2
settingsFile << """
rootProject.name = "scala"
"""
buildFile << """
apply plugin: 'scala'
apply plugin: 'maven'
repositories {
${jcenterRepository()}
}
dependencies {
compile("org.scala-lang:scala-library:2.12.6")
}
"""
file("src/test/scala/Foo.scala") << """
class Foo
"""
expect:
succeeds("install")
}
}

0 comments on commit 74d918d

Please sign in to comment.