Skip to content

Commit ce2f083

Browse files
committed
Added to Typesafe community repo.
1 parent 393f671 commit ce2f083

File tree

2 files changed

+50
-12
lines changed

2 files changed

+50
-12
lines changed

README.md

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,12 @@ Locally:
1313
npm install less
1414

1515
# Installation
16-
Add the resolver and sbt plugin to your `project/plugins.sbt` file:
1716

18-
resolvers += "JMParsons Releases" at "http://jmparsons.github.io/releases/"
17+
Add the sbt plugin to your `project/plugins.sbt` file:
1918

20-
addSbtPlugin("com.jmparsons" % "play-lessc" % "0.1.1")
21-
22-
For Play 2.1, use version 0.1.0.
19+
addSbtPlugin("com.jmparsons" % "play-lessc" % "0.1.2")
2320

2421
# Usage
25-
Import the plugin file into your build file to override settings:
26-
27-
import com.jmparsons.plugin.LesscPlugin._
2822

2923
Set the default `lessEntryPoints` to `Nil` and put in your custom ones into lesscEntryPoints:
3024

@@ -42,6 +36,8 @@ build.sbt example:
4236

4337
Build.scala example:
4438

39+
import com.jmparsons.plugin.LesscPlugin._
40+
4541
lazy val main = play.Project(appName, appVersion, mainDeps).settings(lesscSettings: _*).settings(
4642
lessEntryPoints := Nil,
4743
lesscEntryPoints in Compile <<= baseDirectory(customLessEntryPoints)
@@ -61,6 +57,10 @@ A directory value is required for a non global copy of lessc (trailing slash opt
6157

6258
## Changelog
6359

60+
0.1.2 - November 11, 2013
61+
62+
- Now using Typesafe's community repository, removing the resolver dependency.
63+
6464
0.1.1 - October 4, 2013
6565

6666
- Updated to work with Play 2.2.x.
@@ -92,6 +92,16 @@ A directory value is required for a non global copy of lessc (trailing slash opt
9292

9393
- Added trim to output to remove the default less newline.
9494

95+
## Older Version Installation - 0.1.1 and older
96+
97+
Add the resolver and sbt plugin to your project/plugins.sbt file:
98+
99+
resolvers += "JMParsons Releases" at "http://jmparsons.github.io/releases/"
100+
101+
addSbtPlugin("com.jmparsons" % "play-lessc" % "0.1.1")
102+
103+
For Play 2.1, use version 0.1.0.
104+
95105
## Credits
96106
This plugin is based off of [play-stylus][play-stylus] and [play-sass][play-sass].
97107

build.sbt

Lines changed: 32 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,41 @@
11
name := "play-lessc"
22

3-
version := "0.1.1"
3+
version := "0.1.2"
44

55
sbtPlugin := true
66

77
organization := "com.jmparsons"
88

9-
resolvers += "Typesafe Repository" at "http://repo.typesafe.com/typesafe/releases/"
9+
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.2.1")
1010

11-
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.2.0")
11+
publishTo := Some(Resolver.url("sbt-plugin-releases", new URL("http://repo.scala-sbt.org/scalasbt/sbt-plugin-releases/"))(Resolver.ivyStylePatterns))
1212

13-
publishTo := Some(Resolver.file("file", new File( "/tmp/play-lessc" )))
13+
publishMavenStyle := false
14+
15+
publishArtifact in Test := false
16+
17+
pomIncludeRepository := { _ => false }
18+
19+
crossPaths := false
20+
21+
pomExtra := (
22+
<url>http://github.com/jmparsons/play-lessc</url>
23+
<licenses>
24+
<license>
25+
<name>MIT License</name>
26+
<url>http://jmparsons.mit-license.org/</url>
27+
<distribution>repo</distribution>
28+
</license>
29+
</licenses>
30+
<scm>
31+
<url>git@github.com:jmparsons/play-lessc.git</url>
32+
<connection>scm:git:git@github.com:jmparsons/play-lessc.git</connection>
33+
</scm>
34+
<developers>
35+
<developer>
36+
<id>jmparsons</id>
37+
<name>Jonathan Parsons</name>
38+
<url>https://github.com/jmparsons</url>
39+
</developer>
40+
</developers>
41+
)

0 commit comments

Comments
 (0)