mirror of
https://github.com/InsanusMokrassar/KSLog.git
synced 2024-11-24 00:38:43 +00:00
update of gradle wrapper and publishing scripts
This commit is contained in:
parent
7fbf80a52a
commit
8613f350e3
1
.gitignore
vendored
1
.gitignore
vendored
@ -12,6 +12,5 @@ out/
|
||||
secret.gradle
|
||||
local.*
|
||||
local/
|
||||
kotlin-js-store/
|
||||
|
||||
publishing.sh
|
||||
|
@ -47,6 +47,11 @@ kotlin {
|
||||
}
|
||||
android {
|
||||
publishAllLibraryVariants()
|
||||
compilations.all {
|
||||
kotlinOptions {
|
||||
jvmTarget = "1.8"
|
||||
}
|
||||
}
|
||||
}
|
||||
linuxArm64()
|
||||
linuxArm32Hfp()
|
||||
|
@ -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()
|
||||
|
@ -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"
|
||||
|
||||
|
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@ -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
1921
kotlin-js-store/yarn.lock
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,7 +1,7 @@
|
||||
apply plugin: 'maven-publish'
|
||||
|
||||
task javadocsJar(type: Jar) {
|
||||
classifier = 'javadoc'
|
||||
archiveClassifier = 'javadoc'
|
||||
}
|
||||
|
||||
publishing {
|
||||
|
@ -1,3 +1 @@
|
||||
rootProject.name = 'kslog'
|
||||
|
||||
enableFeaturePreview("VERSION_CATALOGS")
|
||||
|
@ -1 +1 @@
|
||||
<manifest package="dev.inmo.kslog"/>
|
||||
<manifest/>
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user