Fixed samples for the latest changes in Gradle plugin.

- Smaller gradle scripts.
- More structure in sample projects.
- Simplified build/run.
- Added gradle to the rest two samples.
- Almost removed all sh scripts.
- Gradle now works only inside of build directory.
- Fixed READMEs according to the new changes.
This commit is contained in:
Alexander Podkhalyuzin
2017-06-08 13:32:13 +03:00
committed by SvyatoslavScherbina
parent f1fa5327f3
commit bc941269f0
75 changed files with 344 additions and 382 deletions
+2 -2
View File
@@ -1833,13 +1833,13 @@ kotlinNativeInterop {
}
sockets {
defFile '../../samples/socket/sockets.def'
defFile '../../samples/socket/src/c_interop/sockets.def'
flavor 'native'
}
if (isMac()) {
opengl {
defFile '../../samples/opengl/opengl.def'
defFile '../../samples/opengl/src/c_interop/opengl.def'
linkerOpts '-framework', 'OpenGL', '-framework', 'GLUT'
flavor 'native'
}