Skip to content

Commit

Permalink
Merge pull request #32 from nebula-plugins/version-match
Browse files Browse the repository at this point in the history
Add version matchers to align rules
  • Loading branch information
DanielThomas committed May 18, 2016
2 parents aabf152 + aa965b5 commit 4873cfe
Show file tree
Hide file tree
Showing 11 changed files with 1,399 additions and 1,230 deletions.
@@ -0,0 +1,23 @@
package nebula.plugin.resolutionrules

import nebula.test.IntegrationSpec

class AbstractAlignRulesSpec extends IntegrationSpec {
def rulesJsonFile

def setup() {
rulesJsonFile = new File(projectDir, "${moduleName}.json")
buildFile << """\
${applyPlugin(ResolutionRulesPlugin)}
apply plugin: 'java'
dependencies {
resolutionRules files('$rulesJsonFile')
}
""".stripIndent()

settingsFile << '''\
rootProject.name = 'aligntest'
'''.stripIndent()
}
}

0 comments on commit 4873cfe

Please sign in to comment.