Adding initial sample project - #27
Conversation
| } | ||
| ``` | ||
|
|
||
| * **`mingwX64` is deliberately not declared: `secure_random.c` has no Windows branch, and adding one |
There was a problem hiding this comment.
Bold markdown isn't closed so it displays as asterisks. Stray > on line 44
| @@ -0,0 +1,7 @@ | |||
| distributionBase=GRADLE_USER_HOME | |||
There was a problem hiding this comment.
gradle-wrapper.properties, but no gradlew binary for the sample
|
|
||
| nativeTargets.forEach { target -> | ||
| target.compilations.getByName("main").cinterops.create("monocypher") { | ||
| defFile(project.file("src/nativeInterop/cinterop/monocypher.def")) |
There was a problem hiding this comment.
I don't think this line is required if the def file name matches the create name above
There was a problem hiding this comment.
Good catch I removed it
| .gradle/ | ||
| build/ | ||
|
|
||
| # Kotlin |
There was a problem hiding this comment.
Fun fact AI caught. This isn't a comment. The # has to be the first character of the line and there is a space here. So it's actually a functioning rule which ignores a file named # Kotlin
There was a problem hiding this comment.
huh interesting, ok I updated those comments
| @@ -0,0 +1,151 @@ | |||
| /* | |||
| * Copyright (c) 2021 Touchlab | |||
|
I also updated the kotlin and gradle versions that were causing build issues with newer versions of Android Studio and JDK |
Adding small sample project that adds
monocypher, a crypto library.