Skip to content

Commit

Permalink
Bump asciidoctor plugin version
Browse files Browse the repository at this point in the history
Signed-off-by: ingonoka <ingonoka@icloud.com>
  • Loading branch information
ingonoka committed Mar 17, 2023
1 parent cb53c44 commit be7441b
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 6 deletions.
8 changes: 4 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ buildscript {
dependencies {
classpath("com.android.tools.build:gradle:${project.properties["android_gradle_plugin_version"].toString()}")
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${project.properties["kotlin_version"].toString()}")
classpath("org.asciidoctor:asciidoctor-gradle-jvm:3.1.0")//${project.properties["asciidoctor_version"].toString()}")
classpath("org.asciidoctor:asciidoctor-gradle-jvm:3.3.2")//${project.properties["asciidoctor_version"].toString()}")
}
}


plugins {

// id("maven-publish")
id("org.asciidoctor.jvm.convert") version "${project.properties["asciidoctor_version"].toString()}"
id("org.jetbrains.dokka") version "${project.properties["dokka_version"].toString()}"
id("org.asciidoctor.jvm.convert")
id("org.jetbrains.dokka")
// id("org.jetbrains.kotlin.android") version "${project.properties["kotlin_version"].toString()}"
// id 'com.android.application' version '7.0.4' apply false
}
Expand All @@ -51,7 +51,7 @@ fun getVersionName() = try {
stdout.toString().trim()
} catch (e: Exception) {
println(e.message)
null
"na"
}

extra.apply {
Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ kotlin.code.style=official
# thereby reducing the size of the R class for that library
android.nonTransitiveRClass=true

asciidoctor_version=3.3.2
dokka_version=1.7.0
asciidoctorVersion=3.3.2
dokkaVersion=1.7.0
kotlin_version=1.6.21
android_gradle_plugin_version=7.3.1
# 7.0.4
Expand Down
12 changes: 12 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,15 @@

rootProject.name = "cba9-driver"
include(":lib", ":cba9driverdemo")

pluginManagement {
val asciidoctorVersion: String by settings
val dokkaVersion: String by settings

plugins {
id("org.asciidoctor.jvm.convert") version asciidoctorVersion
id("org.jetbrains.dokka") version dokkaVersion

}

}

0 comments on commit be7441b

Please sign in to comment.