Skip to content

Commit

Permalink
Updates to gradle-maven-publish-plugin 0.25.1 (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
fornewid authored Apr 13, 2023
1 parent b58b924 commit d2ca1d6
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 21 deletions.
10 changes: 3 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import org.jetbrains.dokka.gradle.DokkaMultiModuleTask

buildscript {
ext.buildConfig = [
'minSdk' : 21,
Expand Down Expand Up @@ -25,7 +27,7 @@ plugins {
apply plugin: 'org.jetbrains.dokka'
apply plugin: 'com.diffplug.spotless'

tasks.withType(org.jetbrains.dokka.gradle.DokkaMultiModuleTask).configureEach {
tasks.withType(DokkaMultiModuleTask).configureEach {
outputDirectory = rootProject.file('docs/api')
failOnWarning = true
}
Expand All @@ -35,12 +37,6 @@ allprojects {
google()
mavenCentral()
}

plugins.withId("com.vanniktech.maven.publish") {
mavenPublish {
sonatypeHost = "S01"
}
}
}

subprojects {
Expand Down
3 changes: 3 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ android.nonTransitiveRClass=true
org.gradle.parallel=true
org.gradle.caching=true

SONATYPE_HOST=S01
RELEASE_SIGNING_ENABLED=true

GROUP=com.webtoonscorp.android

POM_DESCRIPTION=ReadMoreTextView for Android View System and Jetpack Compose
Expand Down
43 changes: 29 additions & 14 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,29 +1,40 @@
[versions]

gradlePlugin = "7.4.1"
mavenPublish = "0.25.1"
metalava = "0.3.3"

kotlin = "1.8.10"
dokka = "1.7.20"

compose = "1.5.0-alpha02"
composeCompiler = "1.4.4"
composeMaterial3 = "1.1.0-beta02"

material = "1.5.0"

activity = "1.5.1"
appcompat = "1.6.1"
core = "1.7.0"
lifecycle = "2.5.0"

androidxtest = "1.4.0"
androidxtest-junit = "1.1.3"
espresso = "3.3.0"
junit = "4.13"
truth = "1.1.2"

[libraries]

android-pluginGradle = { module = "com.android.tools.build:gradle", version.ref = "gradlePlugin" }
mavenPublish-pluginGradle = "com.vanniktech:gradle-maven-publish-plugin:0.17.0"
metalava-pluginGradle = "me.tylerbwong.gradle.metalava:plugin:0.3.3"
mavenPublish-pluginGradle = { module = "com.vanniktech:gradle-maven-publish-plugin", version.ref = "mavenPublish" }
metalava-pluginGradle = { module = "me.tylerbwong.gradle.metalava:plugin", version.ref = "metalava" }

kotlin-pluginGradle = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
kotlin-stdlib = { module = "org.jetbrains.kotlin:kotlin-stdlib-jdk8", version.ref = "kotlin" }
kotlin-test = { module = "org.jetbrains.kotlin:kotlin-test", version.ref = "kotlin" }

dokka-pluginGradle = "org.jetbrains.dokka:dokka-gradle-plugin:1.7.20"

androidx-appcompat = "androidx.appcompat:appcompat:1.6.1"
androidx-core = "androidx.core:core-ktx:1.7.0"

material-android = "com.google.android.material:material:1.5.0"
dokka-pluginGradle = { module = "org.jetbrains.dokka:dokka-gradle-plugin", version.ref = "dokka" }

compose-ui-ui = { module = "androidx.compose.ui:ui", version.ref = "compose" }
compose-ui-util = { module = "androidx.compose.ui:ui-util", version.ref = "compose" }
Expand All @@ -36,14 +47,18 @@ compose-foundation-layout = { module = "androidx.compose.foundation:foundation-l
compose-material = { module = "androidx.compose.material:material", version.ref = "compose" }
compose-material3 = { module = "androidx.compose.material3:material3", version.ref = "composeMaterial3" }

androidx-activity-compose = "androidx.activity:activity-compose:1.5.1"
androidx-lifecycle-viewmodel = "androidx.lifecycle:lifecycle-viewmodel-ktx:2.5.0"
material-android = { module = "com.google.android.material:material", version.ref = "material" }

androidx-activity-compose = { module = "androidx.activity:activity-compose", version.ref = "activity" }
androidx-appcompat = { module = "androidx.appcompat:appcompat", version.ref = "appcompat" }
androidx-core = { module = "androidx.core:core-ktx", version.ref = "core" }
androidx-lifecycle-viewmodel = { module = "androidx.lifecycle:lifecycle-viewmodel-ktx", version.ref = "lifecycle" }

androidx-test-core = { module = "androidx.test:core-ktx", version.ref = "androidxtest" }
androidx-test-runner = { module = "androidx.test:runner", version.ref = "androidxtest" }
androidx-test-rules = { module = "androidx.test:rules", version.ref = "androidxtest" }
androidx-test-ext-junit = "androidx.test.ext:junit-ktx:1.1.3"
androidx-test-espresso-core = "androidx.test.espresso:espresso-core:3.3.0"
androidx-test-ext-junit = { module = "androidx.test.ext:junit-ktx", version.ref = "androidxtest-junit" }
androidx-test-espresso-core = { module = "androidx.test.espresso:espresso-core", version.ref = "espresso" }

junit = "junit:junit:4.13"
truth = "com.google.truth:truth:1.1.2"
junit = { module = "junit:junit", version.ref = "junit" }
truth = { module = "com.google.truth:truth", version.ref = "truth" }

0 comments on commit d2ca1d6

Please sign in to comment.