Skip to content

Commit

Permalink
Move to Gradle 0.9 for building
Browse files Browse the repository at this point in the history
  • Loading branch information
kotarak committed Jun 26, 2010
1 parent 425f32c commit 5f3b2a7
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 13 deletions.
6 changes: 6 additions & 0 deletions .hgignore
@@ -0,0 +1,6 @@
syntax: glob
.DS_Store
*-keys.txt
build
ng
.gradle
35 changes: 22 additions & 13 deletions build.gradle
@@ -1,14 +1,22 @@
usePlugin 'clojure'
buildscript {
repositories {
flatDir name: 'gradleHome',
dirs: new File(System.getenv('GRADLE_HOME') + '/lib/plugins')
}
dependencies {
classpath 'clojuresque:clojuresque:1.4.0-SNAPSHOT'
}
}

apply plugin: 'clojure'

group = 'vimclojure'
version = '2.2.0-SNAPSHOT'

aotCompile = false

gradleHomeRepo repositories
clojureSnapshotsRepo repositories

repositories {
gradleHomeRepo()
mavenCentral()
}

Expand All @@ -32,15 +40,16 @@ defaultTasks 'build'
configureClojarsDeploy(uploadArchives)

task vimZip(type: Zip) {
zipFileSet(dir: 'autoload') { prefix = 'autoload' }
zipFileSet(dir: 'bin') { prefix = 'bin' }
zipFileSet(dir: 'doc') { prefix = 'doc' }
zipFileSet(dir: 'ftdetect') { prefix = 'ftdetect' }
zipFileSet(dir: 'ftplugin') { prefix = 'ftplugin' }
zipFileSet(dir: 'indent') { prefix = 'indent' }
zipFileSet(dir: 'syntax') { prefix = 'syntax' }
zipFileSet(dir: 'ngclient') { prefix = 'ngclient' }
fileSet(dir: '.') {
from('.') {
include 'autoload/**/*'
include 'bin/**/*'
exclude 'bin/kickoff.sh'
include 'doc/**/*'
include 'ftdetect/**/*'
include 'ftplugin/**/*'
include 'indent/**/*'
include 'syntax/**/*'
include 'ngclient/**/*'
include 'LICENSE.txt'
include 'README.txt'
include 'Makefile'
Expand Down

0 comments on commit 5f3b2a7

Please sign in to comment.