Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
## [1.0.1] - 2025.09.24

- Add ability to use arguments with text from resources
- Update version of AGP, plugins and libraries
- Update publishing logic to Maven Central, because [OSSRH](https://central.sonatype.org/pages/ossrh-eol/) has been shut down

## [1.0.0] - 2024.05.13

Expand Down
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
plugins {
alias(libs.plugins.infrastructure.detekt)
alias(libs.plugins.versions)
alias(libs.plugins.kotlin.compose) apply false
convention.detekt
}
1 change: 1 addition & 0 deletions buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,5 @@ dependencies {
implementation(libs.kotlin.gradlePlugin)
implementation(libs.detekt.gradlePlugin)
implementation(libs.android.gradlePlugin)
implementation(libs.publish.gradlePlugin)
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@ plugins {

redmadrobot {
android.minSdk = 19
android.compileSdk = "35"
}
31 changes: 16 additions & 15 deletions buildSrc/src/main/kotlin/convention.publishing.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,31 +1,32 @@
import com.redmadrobot.build.dsl.*

plugins {
id("com.redmadrobot.publish-config")
id("com.redmadrobot.publish")
id("com.vanniktech.maven.publish")
}

redmadrobot {
publishing {
signArtifacts = !isRunningOnCi
pom {
setGitHubProject("RedMadRobot/TextValue")
mavenPublishing {
publishToMavenCentral(automaticRelease = true)
signAllPublications()

licenses {
mit()
}
pom {
name.convention(project.name)
description.convention(project.description)

developers {
developer(id = "osipxd", name = "Osip Fatkullin", email = "[email protected]")
developer(id = "sonulen", name = "Andrey Tolmachev", email = "[email protected]")
}
setGitHubProject("RedMadRobot/TextValue")

licenses {
mit()
}

developers {
developer(id = "osipxd", name = "Osip Fatkullin", email = "[email protected]")
developer(id = "sonulen", name = "Andrey Tolmachev", email = "[email protected]")
}
}
}

publishing {
repositories {
if (isRunningOnCi) githubPackages("RedMadRobot/TextValue")
if (isReleaseVersion && credentialsExist("ossrh")) ossrh()
}
}
18 changes: 10 additions & 8 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[versions]
androidGradlePlugin = "7.4.2"
annotation = "1.7.1"
compose-compiler = "1.5.13"
compose-runtime = "1.6.7"
compose-ui = "1.6.7"
detekt = "1.23.6"
androidGradlePlugin = "8.6.0"
annotation = "1.9.1"
compose-runtime = "1.7.8"
compose-ui = "1.7.8"
detekt = "1.23.8"
gradle-android-cacheFix = "3.0.1"
gradle-infrastructure = "0.18.1"
kotlin = "1.9.23"
versionsPlugin = "0.51.0"
kotlin = "2.1.10"
versionsPlugin = "0.52.0"
publish-plugin = "0.34.0"

[libraries]
android-gradlePlugin = { module = "com.android.tools.build:gradle", version.ref = "androidGradlePlugin" }
Expand All @@ -20,7 +20,9 @@ gradle-android-cacheFixGradlePlugin = { module = "gradle.plugin.org.gradle.andro
infrastructure-android = { module = "com.redmadrobot.build:infrastructure-android", version.ref = "gradle-infrastructure" }
infrastructure-publish = { module = "com.redmadrobot.build:infrastructure-publish", version.ref = "gradle-infrastructure" }
kotlin-gradlePlugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
publish-gradlePlugin = { module = "com.vanniktech:gradle-maven-publish-plugin", version.ref = "publish-plugin" }

[plugins]
infrastructure-detekt = { id = "com.redmadrobot.detekt", version.ref = "gradle-infrastructure" }
versions = { id = "com.github.ben-manes.versions", version.ref = "versionsPlugin" }
kotlin-compose = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
1 change: 1 addition & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ pluginManagement {
dependencyResolutionManagement {
repositories {
mavenCentral()
google()
}
}

Expand Down
9 changes: 1 addition & 8 deletions textvalue-compose/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
plugins {
alias(libs.plugins.kotlin.compose)
convention.library.android
}

Expand All @@ -11,12 +12,4 @@ dependencies {

android {
namespace = "$group.compose"

buildFeatures {
compose = true
}

composeOptions {
kotlinCompilerExtensionVersion = libs.versions.compose.compiler.get()
}
}
Loading