bc941269f0
- 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.
15 lines
318 B
Groovy
15 lines
318 B
Groovy
apply plugin: 'konan'
|
|
|
|
konanInterop {
|
|
libcurl {
|
|
includeDirs '/usr/include', '/opt/local/include', '/usr/local/opt/curl/include', '.'
|
|
}
|
|
}
|
|
|
|
konanArtifacts {
|
|
Curl {
|
|
useInterop 'libcurl'
|
|
linkerOpts "-L/opt/local/lib -L/usr/lib/x86_64-linux-gnu -L/usr/local/opt/curl/lib -lcurl"
|
|
}
|
|
}
|