Skip to content

Commit

Permalink
Android Plugin DSL
Browse files Browse the repository at this point in the history
  • Loading branch information
paulvi committed Mar 27, 2015
1 parent 1367676 commit e0b53eb
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 0 deletions.
2 changes: 2 additions & 0 deletions org.nodeclipse.enide.editors.gradle/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/android-gradle-plugin-dsl/
/android-gradle-plugin-dsl.zip
1 change: 1 addition & 0 deletions org.nodeclipse.enide.editors.gradle/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ and <http://www.nodeclipse.org/projects/gradle/android>
## Possible things to consider

- Get inspired by Gradle DSL <http://gradle.org/docs/current/dsl/>
- Android Plugin DSL Reference, `android-gradle-plugin-dsl.zip` downloadable from <http://developer.android.com/tools/building/plugin-for-gradle.html>
- Outline, take a look how implemented in <https://github.com/winterstein/Eclipse-Markdown-Editor-Plugin>
raise an issue if you know better example

Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,32 @@ public class Words {
//}

// Android plugin
// defaultConfig {v}
// The default configuration, inherited by all build flavors (if any are defined).
// sourceSets {v}
// Configures the source sets. Note that the Android plugin uses its own implementation of source sets, AndroidSourceSet.
// buildTypes {v}
// Configures the build types.
// signingConfigs {v}
// Configures the signing configs.
// productFlavors {v}
// Configures the product flavors.
// testOptions {v}
// Configures the test options.
// aaptOptions {v}
// Configures aapt options.
// lintOptions {v}
// Configure lint options.
// dexOptions {v}
// Configures dex options.
// compileOptions {v}
// Configures compile options.
// packagingOptions {v}
// Configures packaging options.
// jacoco {v}
// Configures JaCoCo options.
// splits {v}
// Configures APK splits.
"android", "compileOptions",
"compileSdkVersion", "buildToolsVersion",//
"sourceSets", "main", "manifest",//
Expand All @@ -45,6 +71,8 @@ public class Words {
"productFlavors", "debug", "release",//
"lintOptions", "packagingOptions",
"aaptOptions", "dexOptions", "adbOptions",
"testOptions",
"jacoco", "splits",

// other plugins
"robolectric",
Expand Down

0 comments on commit e0b53eb

Please sign in to comment.