From 571d4c2c3fc7f1e51bfa07b86891a0bd1d466b46 Mon Sep 17 00:00:00 2001 From: Rocky Madden Date: Fri, 27 Dec 2013 07:45:25 -0700 Subject: Removed coveralls. It rarely works. --- cli/build.gradle | 12 +++++------- core/build.gradle | 12 +++++------- deploy.gradle | 1 + readme.md | 8 ++++---- 4 files changed, 15 insertions(+), 18 deletions(-) diff --git a/cli/build.gradle b/cli/build.gradle index 5507dff..14d6495 100755 --- a/cli/build.gradle +++ b/cli/build.gradle @@ -1,8 +1,5 @@ buildscript { - dependencies { - classpath 'net.saliman:gradle-cobertura-plugin:2.0.0' - classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:0.2.1' - } + dependencies { classpath 'net.saliman:gradle-cobertura-plugin:2.2.2' } repositories { mavenCentral() } } @@ -10,11 +7,12 @@ evaluationDependsOn(':stringmetric-core') apply from: '../deploy.gradle' apply plugin: 'cobertura' -apply plugin: 'coveralls' apply plugin: 'scala' -cobertura.coverageFormats = ['html', 'xml'] -cobertura.coverageSourceDirs = sourceSets.main.scala.srcDirs +cobertura { + coverageFormats = ['html', 'xml'] + coverageSourceDirs = sourceSets.main.scala.srcDirs +} compileScala { compileScala.scalaCompileOptions.additionalParameters = ['-target:jvm-1.6', '–Xdisable-assertions'] } compileTestScala { compileTestScala.scalaCompileOptions.additionalParameters = ['-target:jvm-1.6'] } diff --git a/core/build.gradle b/core/build.gradle index 6625397..7e2fa07 100755 --- a/core/build.gradle +++ b/core/build.gradle @@ -1,18 +1,16 @@ buildscript { - dependencies { - classpath 'net.saliman:gradle-cobertura-plugin:2.0.0' - classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:0.2.1' - } + dependencies { classpath 'net.saliman:gradle-cobertura-plugin:2.2.2' } repositories { mavenCentral() } } apply from: '../deploy.gradle' apply plugin: 'cobertura' -apply plugin: 'coveralls' apply plugin: 'scala' -cobertura.coverageFormats = ['html', 'xml'] -cobertura.coverageSourceDirs = sourceSets.main.scala.srcDirs +cobertura { + coverageFormats = ['html', 'xml'] + coverageSourceDirs = sourceSets.main.scala.srcDirs +} compileScala { compileScala.scalaCompileOptions.additionalParameters = ['-target:jvm-1.6', '–Xdisable-assertions'] } compileTestScala { compileTestScala.scalaCompileOptions.additionalParameters = ['-target:jvm-1.6'] } diff --git a/deploy.gradle b/deploy.gradle index 5c20a5e..2df1a2f 100755 --- a/deploy.gradle +++ b/deploy.gradle @@ -1,4 +1,5 @@ apply plugin: 'maven' +apply plugin: 'scala' apply plugin: 'signing' def isMavenDeployable = hasProperty('mavenRepositoryUrl') && diff --git a/readme.md b/readme.md index ff57524..d6c0fb3 100755 --- a/readme.md +++ b/readme.md @@ -1,5 +1,5 @@ -#stringmetric [![Build Status](https://travis-ci.org/rockymadden/stringmetric.png?branch=master)](http://travis-ci.org/rockymadden/stringmetric) [![Coverage Status](https://coveralls.io/repos/rockymadden/stringmetric/badge.png)](https://coveralls.io/r/rockymadden/stringmetric) -String metrics and phonetic algorithms for Scala. The library provides facilities to perform approximate string matching, measurement of string similarity/distance, indexing by word pronunciation, and sounds-like comparisons. In addition to the core library, each metric and algorithm has a command line interface. +#stringmetric [![Build Status](https://travis-ci.org/rockymadden/stringmetric.png?branch=master)](http://travis-ci.org/rockymadden/stringmetric) +String metrics and phonetic algorithms for Scala. The library provides facilities to perform approximate string matching, measurement of string similarity/distance, indexing by word pronunciation, and sounds-like comparisons. In addition to the core library, each metric and algorithm has a command line interface. * __Requirements:__ Scala 2.10.x and, if building yourself, Gradle 1.6+ * __Documentation:__ [ScalaDoc](http://rockymadden.com/stringmetric/scaladoc/) @@ -415,7 +415,7 @@ cd stringmetric gradle :stringmetric-cli:tar ``` -Running the ```tar``` task will create a compressed archive __and__ an unarchived copy of the built files. The files can be found under the ```build``` directory that Gradle creates. The archive is named ```stringmetric-cli.tar.gz``` and the unarchived files can be found in the directory named ```stringmetric-cli```. +Running the ```tar``` task will create a compressed archive __and__ an unarchived copy of the built files. The files can be found under the ```build``` directory that Gradle creates. The archive is named ```stringmetric-cli.tar.gz``` and the unarchived files can be found in the directory named ```stringmetric-cli```. To run a command from the current directory that you would be in from doing the above: @@ -495,4 +495,4 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -``` \ No newline at end of file +``` -- cgit v1.2.3