mirror of
https://github.com/ysoftdevs/gradle-training.git
synced 2026-03-26 02:51:33 +01:00
#1 - use newer version of Gradle syntax
This commit is contained in:
@@ -1,17 +1,8 @@
|
|||||||
apply plugin: 'c'
|
apply plugin: 'c'
|
||||||
|
|
||||||
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