update of gradle wrapper and publishing scripts

This commit is contained in:
InsanusMokrassar 2023-09-20 21:39:01 +06:00
parent 7fbf80a52a
commit 8613f350e3
10 changed files with 1938 additions and 10 deletions

1
.gitignore vendored
View File

@ -12,6 +12,5 @@ out/
secret.gradle
local.*
local/
kotlin-js-store/
publishing.sh

View File

@ -47,6 +47,11 @@ kotlin {
}
android {
publishAllLibraryVariants()
compilations.all {
kotlinOptions {
jvmTarget = "1.8"
}
}
}
linuxArm64()
linuxArm32Hfp()

View File

@ -26,8 +26,9 @@ android {
}
}
compileSdkVersion libs.versions.android.compileSdk.get().toInteger()
buildToolsVersion libs.versions.android.buildTools.get()
compileSdk libs.versions.android.compileSdk.get().toInteger()
buildToolsVersion = libs.versions.android.buildTools.get()
namespace "${group}.${project.name}"
defaultConfig {
minSdkVersion libs.versions.android.minSdk.get().toInteger()

View File

@ -1,9 +1,9 @@
[versions]
kotlin = "1.9.10"
kotlin-gradle-plugin = "7.4.2"
kotlin-gradle-plugin = "8.1.1"
versions = "0.47.0"
versions = "0.48.0"
dokka = "1.9.0"

View File

@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

1921
kotlin-js-store/yarn.lock Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,7 +1,7 @@
apply plugin: 'maven-publish'
task javadocsJar(type: Jar) {
classifier = 'javadoc'
archiveClassifier = 'javadoc'
}
publishing {

View File

@ -1,3 +1 @@
rootProject.name = 'kslog'
enableFeaturePreview("VERSION_CATALOGS")

View File

@ -1 +1 @@
<manifest package="dev.inmo.kslog"/>
<manifest/>

View File

@ -32,6 +32,10 @@ interface KSLog {
companion object : KSLog {
private var defaultLogger: KSLog? = null
/**
* Default logger used in case you are trying to use [KSLog] as a receiver for extensions like [info]
*/
var default: KSLog
get() {
return defaultLogger ?: KSLog("app").also {