gradle-plugin: Revert target renaming

This commit is contained in:
Ilya Matveev
2017-05-10 11:45:07 +07:00
committed by ilmat192
parent 739eb6233a
commit 6f9af1c6a1
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ cinterop execution (see the `dumpParameters` task in `samles/csvparser/build.gra
// Arguments to be passed to a linker.
linkerOpts 'Some linker opts'
// Target platform. Available values: "osx", "linux", "ios", "raspberrypi".
// Target platform. Available values: "macbook", "linux", "iphone", "raspberrypi".
target 'macbook'
// Language and API version.
+4 -1
View File
@@ -16,7 +16,10 @@ apply plugin: 'konan'
konanInterop {
sdlMacbook {
defFile 'sdl.def'
includeDirs '/Library/Frameworks/SDL2.framework/Headers', "${System.getProperty("user.home")}/Library/Frameworks/SDL2.framework/Headers"
includeDirs '/Library/Frameworks/SDL2.framework/Headers',
"${System.getProperty("user.home")}/Library/Frameworks/SDL2.framework/Headers",
'/opt/local/include/SDL2',
'/usr/local/include/SDL2'
target 'macbook'
}