Bump to 1.9.0
This commit is contained in:
parent
51073827d7
commit
b32821e13e
@ -28,9 +28,9 @@ repositories {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.8.10")
|
||||
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:1.9.0")
|
||||
implementation("com.android.tools.build:gradle:7.2.2")
|
||||
implementation ("org.jetbrains.dokka:dokka-gradle-plugin:1.8.10")
|
||||
implementation ("org.jetbrains.dokka:dokka-gradle-plugin:1.8.20")
|
||||
}
|
||||
|
||||
System.setProperty("PROJECT_PATH", project.projectDir.parentFile.toString())
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
object Versions {
|
||||
val kotlinCoroutines = "1.7.0-Beta"
|
||||
val kotlin = "1.8.10"
|
||||
val kotlin = "1.9.0"
|
||||
val kotlinSerialization = "1.5.0"
|
||||
val kotlinSerializationPlugin = kotlin
|
||||
val nodePlugin = "1.3.0"
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -73,6 +73,10 @@ android {
|
||||
sourceSets.getByName("main") {
|
||||
// jniLibs.srcDir("src/androidMain/libs")
|
||||
}
|
||||
|
||||
lint {
|
||||
abortOnError = false
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -557,7 +561,7 @@ kotlin {
|
||||
}
|
||||
}
|
||||
|
||||
val androidTest by getting {
|
||||
val androidUnitTest by getting {
|
||||
dependencies {
|
||||
}
|
||||
}
|
||||
@ -672,6 +676,7 @@ kotlin {
|
||||
languageSettings.enableLanguageFeature("InlineClasses")
|
||||
languageSettings.optIn("kotlin.ExperimentalUnsignedTypes")
|
||||
languageSettings.optIn("kotlin.ExperimentalStdlibApi")
|
||||
languageSettings.optIn("kotlinx.cinterop.ExperimentalForeignApi")
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
~ Copyright (c) IonSpin UG Ugljesa Jovanovic 2021-2022
|
||||
-->
|
||||
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.ionspin.common.client">
|
||||
|
||||
</manifest>
|
@ -6,6 +6,7 @@ import com.ionspin.kotlin.crypto.util.runTest
|
||||
import kotlin.test.Test
|
||||
import kotlin.test.assertFailsWith
|
||||
import kotlin.test.assertTrue
|
||||
import kotlin.test.fail
|
||||
|
||||
/**
|
||||
* Created by Ugljesa Jovanovic
|
||||
|
@ -24,7 +24,6 @@ import org.jetbrains.kotlin.gradle.tasks.FatFrameworkTask
|
||||
|
||||
plugins {
|
||||
kotlin(PluginsDeps.multiplatform)
|
||||
id(PluginsDeps.kapt)
|
||||
id(PluginsDeps.androidApplication)
|
||||
id(PluginsDeps.mavenPublish)
|
||||
id(PluginsDeps.signing)
|
||||
@ -208,7 +207,7 @@ kotlin {
|
||||
// implementation("androidx.compose:compose-runtime:$composeDevVersion")
|
||||
}
|
||||
}
|
||||
val androidTest by getting {
|
||||
val androidUnitTest by getting {
|
||||
dependencies {
|
||||
implementation(kotlin(Deps.Jvm.test))
|
||||
implementation(kotlin(Deps.Jvm.testJUnit))
|
||||
@ -396,6 +395,11 @@ android {
|
||||
}
|
||||
}
|
||||
|
||||
lint {
|
||||
abortOnError = false
|
||||
|
||||
}
|
||||
|
||||
// buildFeatures {
|
||||
// // Enables Jetpack Compose for this module
|
||||
// this.compose = true
|
||||
|
@ -6,8 +6,6 @@ package com.ionspin.kotlin.crypto.sample
|
||||
|
||||
import android.os.Bundle
|
||||
import androidx.appcompat.app.AppCompatActivity
|
||||
import com.ionspin.kotlin.crypto.LibsodiumInitializer.sodiumJna
|
||||
import com.ionspin.kotlin.crypto.TmpAccessor
|
||||
import com.ionspin.kotlin.crypto.box.Box
|
||||
import com.ionspin.kotlin.crypto.box.BoxCorruptedOrTamperedDataException
|
||||
import com.ionspin.kotlin.crypto.box.crypto_box_NONCEBYTES
|
||||
@ -15,7 +13,6 @@ import com.ionspin.kotlin.crypto.hash.Hash
|
||||
import com.ionspin.kotlin.crypto.util.decodeFromUByteArray
|
||||
import com.ionspin.kotlin.crypto.util.encodeToUByteArray
|
||||
import com.ionspin.kotlin.crypto.util.toHexString
|
||||
import kotlinx.android.synthetic.main.activity_main.*
|
||||
import java.lang.StringBuilder
|
||||
import kotlin.random.Random
|
||||
import kotlin.random.nextUBytes
|
||||
@ -45,7 +42,7 @@ class MainActivity : AppCompatActivity() {
|
||||
} catch (exception : Exception) {
|
||||
builder.appendLine("And caught tamper")
|
||||
}
|
||||
helloWorldTextView.setText(builder.toString())
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
7
sample/webpack.config.d/patch.js
Normal file
7
sample/webpack.config.d/patch.js
Normal file
@ -0,0 +1,7 @@
|
||||
config.resolve = {
|
||||
fallback: {
|
||||
fs: false,
|
||||
path: false,
|
||||
crypto: false,
|
||||
},
|
||||
};
|
Loading…
x
Reference in New Issue
Block a user