Update build.gradle to support Gradle 2.0

This commit is contained in:
Juraj Michalek
2014-04-15 07:35:00 +02:00
parent 9d0b0751ff
commit 64ef14f422
3 changed files with 18 additions and 3 deletions

View File

@@ -1 +1,6 @@
apply plugin: 'cpp-exe'
apply plugin: 'cpp'
executables {
main {
}
}

View File

@@ -1,3 +1,8 @@
apply plugin: 'cpp-exe'
apply plugin: 'cpp'
task wrapper(type: Wrapper)
executables {
main {
}
}

View File

@@ -1,4 +1,4 @@
apply plugin: 'cpp-exe'
apply plugin: 'cpp'
// Based on http://www.gradle.org/docs/current/userguide/nativeBinaries.html
@@ -12,3 +12,8 @@ binaries.all {
linker.args '/DEBUG'
}
}
executables {
main {
}
}