mirror of
https://github.com/ysoftdevs/cpp-examples.git
synced 2026-01-11 14:30:32 +01:00
Update build.gradle to support Gradle 2.0
This commit is contained in:
@@ -1 +1,6 @@
|
||||
apply plugin: 'cpp-exe'
|
||||
apply plugin: 'cpp'
|
||||
|
||||
executables {
|
||||
main {
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
apply plugin: 'cpp-exe'
|
||||
apply plugin: 'cpp'
|
||||
|
||||
task wrapper(type: Wrapper)
|
||||
|
||||
executables {
|
||||
main {
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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 {
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user