mirror of
https://github.com/ysoftdevs/gradle-training.git
synced 2026-01-16 08:37:00 +01:00
#1 - use newer version of Gradle syntax
This commit is contained in:
@@ -1,17 +1,8 @@
|
||||
apply plugin: 'c'
|
||||
|
||||
sources {
|
||||
main {
|
||||
c {
|
||||
source {
|
||||
// Include just source, avoid including *.swp and other helper files
|
||||
include "**/*.c"
|
||||
}
|
||||
}
|
||||
model {
|
||||
components {
|
||||
main(NativeExecutableSpec) {}
|
||||
}
|
||||
}
|
||||
|
||||
executables {
|
||||
main {
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user