mirror of
https://github.com/ysoftdevs/gradle-training.git
synced 2026-03-23 17:41:34 +01:00
#1 - new gradle has different path to binaries in example 08
This commit is contained in:
@@ -1,18 +1,8 @@
|
|||||||
apply plugin: 'c'
|
apply plugin: 'c'
|
||||||
apply plugin: 'visual-studio'
|
apply plugin: 'visual-studio'
|
||||||
|
|
||||||
sources {
|
model {
|
||||||
main {
|
components {
|
||||||
c {
|
main(NativeExecutableSpec) {}
|
||||||
source {
|
|
||||||
// Include just source, avoid including *.swp and other helper files
|
|
||||||
include "**/*.c"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
executables {
|
|
||||||
main {
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user