Skip to content

Instantly share code, notes, and snippets.

@166MMX
Created May 12, 2014 16:35
Show Gist options
  • Save 166MMX/8b4281d7420d9dfd3fb3 to your computer and use it in GitHub Desktop.
Save 166MMX/8b4281d7420d9dfd3fb3 to your computer and use it in GitHub Desktop.
Idea acrobatics
/*
* This build file was auto generated by running the Gradle 'init' task
* by 'jharth' at '5/12/14 11:13 AM' with Gradle 1.12
*
* This generated file contains a commented-out sample Java project to get you started.
* For more details take a look at the Java Quickstart chapter in the Gradle
* user guide available at http://gradle.org/docs/1.12/userguide/tutorial_java_projects.html
*/
apply plugin: 'idea'
idea {
module {
excludeDirs += file('gradle')
}
}
subprojects {
// Apply the java plugin to add support for Java
apply plugin: 'groovy'
apply plugin: 'idea'
// In this section you declare where to find the dependencies of your project
repositories {
// Use 'maven central' for resolving your dependencies.
// You can declare any Maven/Ivy/file repository here.
mavenCentral()
}
// In this section you declare the dependencies for your production and test code
dependencies {
// The production code uses the SLF4J logging API at compile time
// compile 'org.slf4j:slf4j-api:1.7.5'
compile 'org.codehaus.groovy:groovy-all:2.3.0'
compile 'ch.qos.logback:logback-classic:1.1.2'
compile 'de.huxhorn.sulky:de.huxhorn.sulky.conditions:0.9.17'
compile 'de.huxhorn.lilith:de.huxhorn.lilith.data.logging:0.9.44'
compile 'de.huxhorn.lilith:de.huxhorn.lilith:0.9.44'
// Declare the dependency for your favourite test framework you want to use in your tests.
// TestNG is also supported by the Gradle Test task. Just change the
// testCompile dependency to testCompile 'org.testng:testng:6.8.1' and add
// 'test.useTestNG()' to your build script.
//testCompile "junit:junit:4.11"
// testCompile 'org.spockframework:spock-core:0.7-groovy-2.0'
}
sourceSets {
main {
groovy {
srcDirs = [projectDir]
}
}
}
idea {
module {
iml {
generateTo = rootDir
}
}
}
}
/*
* This settings file was auto generated by the Gradle buildInit task
* by 'jharth' at '5/12/14 11:13 AM' with Gradle 1.12
*
* The settings file is used to specify which projects to include in your build.
* In a single project build this file can be empty or even removed.
*
* Detailed information about configuring a multi-project build in Gradle can be found
* in the user guide at http://gradle.org/docs/1.12/userguide/multi_project_builds.html
*/
// To declare projects as part of a multi-project build use the 'include' method
rootProject.name = 'lilith-local-settings'
rootProject.projectDir = file(rootDir)
include 'conditions'
project(':conditions').projectDir = file("$System.env.HOME/.lilith/conditions")
include 'clipboardFormatters'
project(':clipboardFormatters').projectDir = file("$System.env.HOME/.lilith/clipboardFormatters")
include 'detailsView'
project(':detailsView').projectDir = file("$System.env.HOME/.lilith/detailsView")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment