samples: Use camel case in tetris gradle build script

This commit is contained in:
Ilya Matveev
2017-05-05 17:11:33 +07:00
committed by ilmat192
parent 660f7bc1d4
commit 409d00db96
+6 -6
View File
@@ -14,7 +14,7 @@ buildscript {
apply plugin: 'konan'
konanInterop {
sdlOSX {
sdlOsx {
defFile 'sdl.def'
includeDirs '/Library/Frameworks/SDL2.framework/Headers', "${System.getProperty("user.home")}/Library/Frameworks/SDL2.framework/Headers"
@@ -27,7 +27,7 @@ konanInterop {
target 'linux'
}
sdlIOS {
sdlIos {
defFile 'sdl.def'
includeDirs "${project.property("konan.home")}/dependencies/target-sysroot-2-darwin-ios/System/Library/Frameworks/SDL2.framework/Headers"
target 'ios'
@@ -41,9 +41,9 @@ konanInterop {
}
konanArtifacts {
TetrisOSX {
TetrisOsx {
inputFiles project.file('Tetris.kt')
useInterop 'sdlOSX'
useInterop 'sdlOsx'
linkerOpts "-F ${System.getProperty("user.home")}/Library/Frameworks -F /Library/Frameworks -framework SDL2"
// Use this line instead of the previous one if you've got a 'No SDL-framework' error.
//linkerOpts "-L/opt/local/lib -L/usr/local/lib -lSDL2"
@@ -58,10 +58,10 @@ konanArtifacts {
target 'linux'
}
TetrisIOS {
TetrisIos {
inputFiles project.file('Tetris.kt')
useInterop 'sdlIOS'
useInterop 'sdlIos'
linkerOpts '-framework SDL2 -framework AVFoundation -framework CoreGraphics -framework CoreMotion ' +
'-framework Foundation -framework GameController -framework AudioToolbox -framework OpenGLES ' +