diff --git a/gradle/01-hello-muni/build.gradle b/gradle/01-hello-muni/build.gradle index 0590df0..8f23699 100644 --- a/gradle/01-hello-muni/build.gradle +++ b/gradle/01-hello-muni/build.gradle @@ -1 +1,6 @@ -apply plugin: 'cpp-exe' +apply plugin: 'cpp' + +executables { + main { + } +} diff --git a/gradle/02-hello-muni-with-gradle-wrapper/build.gradle b/gradle/02-hello-muni-with-gradle-wrapper/build.gradle index 4c58bdf..0260c79 100644 --- a/gradle/02-hello-muni-with-gradle-wrapper/build.gradle +++ b/gradle/02-hello-muni-with-gradle-wrapper/build.gradle @@ -1,3 +1,8 @@ -apply plugin: 'cpp-exe' +apply plugin: 'cpp' task wrapper(type: Wrapper) + +executables { + main { + } +} diff --git a/gradle/03-hello-muni-with-debug/build.gradle b/gradle/03-hello-muni-with-debug/build.gradle index e43f043..9aa9d2a 100644 --- a/gradle/03-hello-muni-with-debug/build.gradle +++ b/gradle/03-hello-muni-with-debug/build.gradle @@ -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 { + } +}