File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ This library was designed to give an easy class for developers to use when they
1818
1919The jar is available in Maven Central and can be included via gradle:
2020``` Gradle
21- implementation 'com.pnuema.java:barcode:2.6.2 '
21+ implementation 'com.pnuema.java:barcode:2.6.3 '
2222```
2323
2424Then use the library to generate a barcode via:
Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ plugins {
1010 id(" java" )
1111 id(" signing" )
1212
13- alias(libs.plugins.kotlin.jvm)
1413 alias(libs.plugins.dokka)
1514 alias(libs.plugins.maven.publish)
1615 alias(libs.plugins.gradle.cachefix).apply (false )
@@ -21,7 +20,6 @@ version = project.properties["VERSION_NAME"].toString()
2120
2221dependencies {
2322 implementation(libs.dokka.gradle)
24- implementation(libs.kotlin.gradle)
2523 testImplementation(libs.junit)
2624}
2725
@@ -61,21 +59,6 @@ tasks {
6159
6260 dokkaHtml {
6361 outputDirectory.set(file(dokkaOutputDir))
64- dokkaSourceSets {
65- named(" main" )
66- }
67- }
68-
69- compileKotlin {
70- kotlinOptions {
71- jvmTarget = javaVersion.toString()
72- }
73- }
74-
75- compileTestKotlin {
76- kotlinOptions {
77- jvmTarget = javaVersion.toString()
78- }
7962 }
8063
8164 artifacts {
@@ -87,7 +70,7 @@ tasks {
8770 afterEvaluate {
8871 tasks.named(" generateMetadataFileForMavenPublication" ) {
8972 dependsOn.add(tasks.named(" dokkaJavadocJar" ))
90- dependsOn.add(tasks.named(" kotlinSourcesJar " ))
73+ dependsOn.add(tasks.named(" sourcesJar " ))
9174 }
9275 }
9376}
Original file line number Diff line number Diff line change 11GROUP =com.pnuema.java
2- VERSION_NAME =2.6.2
2+ VERSION_NAME =2.6.3
33POM_ARTIFACT_ID =barcode
44
55POM_NAME =Barcode-Java
Original file line number Diff line number Diff line change 11[versions ]
22vanniktech-maven-publish = " 0.28.0"
33junit = " 4.13.2"
4- kotlin = " 1.9.22"
54tomlChecker = " 0.51.0"
65gradleCacheFix = " 3.0.1"
76dokka = " 1.9.20"
87
98[libraries ]
109dokka-gradle = { module = " org.jetbrains.dokka:dokka-gradle-plugin" , version.ref = " dokka" }
11- kotlin-gradle = { module = " org.jetbrains.kotlin:kotlin-gradle-plugin" , version.ref = " kotlin" }
1210junit = { module = " junit:junit" , version.ref = " junit" }
1311
1412[plugins ]
1513maven-publish = { id = " com.vanniktech.maven.publish" , version.ref = " vanniktech-maven-publish" }
1614gradle-cachefix = { id = " org.gradle.android.cache-fix" , version.ref = " gradleCacheFix" }
1715dokka = { id = " org.jetbrains.dokka" , version.ref = " dokka" }
18- toml-version-checker = { id = " com.github.ben-manes.versions" , version.ref = " tomlChecker" }
19- kotlin-jvm = { id = " org.jetbrains.kotlin.jvm" , version.ref = " kotlin" }
16+ toml-version-checker = { id = " com.github.ben-manes.versions" , version.ref = " tomlChecker" }
You can’t perform that action at this time.
0 commit comments