Skip to content

Commit

Permalink
Fixing default configurations for rhino
Browse files Browse the repository at this point in the history
  • Loading branch information
eriwen committed Apr 28, 2012
1 parent b9a4149 commit 0161eaa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ apply plugin: 'idea'

defaultTasks 'clean', 'build'

version = '0.4'
version = '0.4.1'
group = 'com.eriwen'
archivesBaseName = 'gradle-js-plugin'
isSnapshot = version.endsWith("-SNAPSHOT")
Expand Down
10 changes: 1 addition & 9 deletions plugin.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ buildscript {
mavenCentral()
}
dependencies {
classpath 'com.eriwen:gradle-js-plugin:0.4.0'
classpath 'com.eriwen:gradle-js-plugin:0.4.1'
}
}

Expand All @@ -13,14 +13,6 @@ repositories {
mavenCentral()
}

configurations {
rhino
}

dependencies {
rhino 'org.mozilla:rhino:1.7R3'
}

//javascript {
// source {
// custom {
Expand Down
3 changes: 2 additions & 1 deletion src/main/groovy/com/eriwen/gradle/js/JsPlugin.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ class JsPlugin implements Plugin<Project> {
project.convention.plugins.js = new JsPluginConvention()

project.extensions.add(JavaScriptExtension.NAME, InternalGradle.toInstantiator(project).newInstance(JavaScriptExtension, project))


configureDependencies(project)
applyTasks(project)
}

Expand Down

0 comments on commit 0161eaa

Please sign in to comment.