File tree 3 files changed +6
-6
lines changed
src/nativeMain/kotlin/com/kgit2/kommand
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ plugins {
10
10
}
11
11
12
12
val sharedGroup = " com.kgit2"
13
- val sharedVersion = " 2.2.0 "
13
+ val sharedVersion = " 2.2.1 "
14
14
15
15
group = sharedGroup
16
16
version = sharedVersion
@@ -64,10 +64,10 @@ kotlin {
64
64
sourceSets {
65
65
// add opt-in
66
66
all {
67
- languageSettings.optIn(" kotlinx.cinterop.UnsafeNumber" )
67
+ // languageSettings.optIn("kotlinx.cinterop.UnsafeNumber")
68
68
languageSettings.optIn(" kotlinx.cinterop.ExperimentalForeignApi" )
69
69
languageSettings.optIn(" kotlin.experimental.ExperimentalNativeApi" )
70
- languageSettings.optIn(" kotlin.native.runtime.NativeRuntimeApi" )
70
+ // languageSettings.optIn("kotlin.native.runtime.NativeRuntimeApi")
71
71
languageSettings.optIn(" kotlin.ExperimentalStdlibApi" )
72
72
73
73
languageSettings {
@@ -123,8 +123,8 @@ if (ossrhUsername != null && ossrhPassword != null) {
123
123
nexusPublishing {
124
124
repositories {
125
125
sonatype {
126
- nexusUrl.set(uri(" https://s01.oss.sonatype.org/service/local/ " ))
127
- snapshotRepositoryUrl.set(uri(" https://s01.oss.sonatype.org/content/repositories/snapshots/ " ))
126
+ nexusUrl.set(uri(releasesRepoUrl ))
127
+ snapshotRepositoryUrl.set(uri(snapshotsRepoUrl ))
128
128
username.set(ossrhUsername)
129
129
password.set(ossrhPassword)
130
130
}
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ import kotlinx.cinterop.memScoped
16
16
import kotlinx.cinterop.pointed
17
17
import kotlinx.cinterop.toKString
18
18
19
- inline fun CPointer<ByteVar>.asString (): String {
19
+ fun CPointer<ByteVar>.asString (): String {
20
20
val result = this .toKString()
21
21
drop_string(this )
22
22
return result
You can’t perform that action at this time.
0 commit comments