1.1.0 release #2

Merged
Infendro merged 6 commits from develop into main 2026-02-15 13:13:31 +00:00
3 changed files with 19 additions and 33 deletions
Showing only changes of commit a64703cf2f - Show all commits

View File

@@ -1,11 +1,11 @@
import com.infendro.plugin.infendro
import com.infendro.plugin.token
group = "com.infendro" group = "com.infendro"
version = "1.0.0" version = "1.0.0"
repositories {
mavenCentral()
}
plugins { plugins {
alias(libs.plugins.infendro)
alias(libs.plugins.multiplatform) alias(libs.plugins.multiplatform)
id("maven-publish") id("maven-publish")
} }
@@ -17,6 +17,10 @@ kotlin {
} }
linuxX64() linuxX64()
repositories {
mavenCentral()
}
sourceSets { sourceSets {
jsMain.dependencies { jsMain.dependencies {
implementation(libs.node) implementation(libs.node)
@@ -24,31 +28,6 @@ kotlin {
} }
} }
publishing { publishing.repositories {
repositories { infendro(token)
maven {
url = uri("https://git.infendro.com/api/packages/Infendro/maven")
authentication.create("header", HttpHeaderAuthentication::class)
credentials(HttpHeaderCredentials::class) {
val token = secret("git.token") ?: throw GradleException()
name = "Authorization"
value = "token $token"
}
}
}
}
fun secret(
key: String,
): String? {
val property = key
val environment = key
.uppercase()
.replace(".", "__")
val prop = properties[property] as String?
val env = System.getenv(environment)
return prop ?: env
} }

View File

@@ -1,8 +1,10 @@
[versions] [versions]
kotlin = "2.1.20" infendro = "1.0.0"
node = "2025.6.9-22.13.10" kotlin = "2.2.21"
node = "2025.12.5-24.7.1"
[plugins] [plugins]
infendro = { id = "com.infendro.plugin", version.ref = "infendro" }
multiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" } multiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" }
[libraries] [libraries]

View File

@@ -1 +1,6 @@
rootProject.name = "shell" rootProject.name = "shell"
pluginManagement.repositories {
maven("https://git.infendro.com/api/packages/Infendro/maven")
mavenCentral()
}