Skip to content

Commit 21dfd80

Browse files
authored
Update documentation for Maven Central (#80)
1 parent cbacd8b commit 21dfd80

File tree

5 files changed

+1
-37
lines changed

5 files changed

+1
-37
lines changed

README.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ifdef::env-github[]
1212
endif::[]
1313
:link-appmattus: https://github.com/appmattus/kotlinfixture[KotlinFixture]
1414

15-
https://bintray.com/appmattus/maven/fixture/_latestVersion[image:https://api.bintray.com/packages/appmattus/maven/fixture/images/download.svg[Download]]
15+
https://search.maven.org/search?q=g:com.appmattus.fixture[image:https://img.shields.io/maven-central/v/com.appmattus.fixture/fixture[Maven Central]]
1616
https://github.com/appmattus/kotlinfixture/actions[image:https://github.com/appmattus/kotlinfixture/workflows/CI/badge.svg[CI status]]
1717
https://codecov.io/gh/appmattus/kotlinfixture[image:https://codecov.io/gh/appmattus/kotlinfixture/branch/main/graph/badge.svg[Coverage status]]
1818
link:LICENSE.md[image:https://img.shields.io/badge/License-Apache%202.0-blue.svg[License]]

fixture-generex/build.gradle.kts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,6 @@ tasks.withType<KotlinCompile> {
5555
kotlinOptions.jvmTarget = JavaVersion.VERSION_1_8.toString()
5656
}
5757

58-
// Fix lack of source code when publishing pure Kotlin projects
59-
// See https://github.com/novoda/bintray-release/issues/262
60-
tasks.whenTaskAdded {
61-
if (name == "generateSourcesJarForMavenPublication") {
62-
this as Jar
63-
from(sourceSets.main.get().allSource)
64-
}
65-
}
66-
6758
tasks.named("check") {
6859
finalizedBy(rootProject.tasks.named("detekt"))
6960
finalizedBy(rootProject.tasks.named("markdownlint"))

fixture-javafaker/build.gradle.kts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -60,15 +60,6 @@ tasks.withType<KotlinCompile> {
6060
kotlinOptions.jvmTarget = JavaVersion.VERSION_1_8.toString()
6161
}
6262

63-
// Fix lack of source code when publishing pure Kotlin projects
64-
// See https://github.com/novoda/bintray-release/issues/262
65-
tasks.whenTaskAdded {
66-
if (name == "generateSourcesJarForMavenPublication") {
67-
this as Jar
68-
from(sourceSets.main.get().allSource)
69-
}
70-
}
71-
7263
tasks.named("check") {
7364
finalizedBy(rootProject.tasks.named("detekt"))
7465
finalizedBy(rootProject.tasks.named("markdownlint"))

fixture-kotest/build.gradle.kts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,6 @@ tasks.withType<KotlinCompile> {
5555
kotlinOptions.jvmTarget = JavaVersion.VERSION_1_8.toString()
5656
}
5757

58-
// Fix lack of source code when publishing pure Kotlin projects
59-
// See https://github.com/novoda/bintray-release/issues/262
60-
tasks.whenTaskAdded {
61-
if (name == "generateSourcesJarForMavenPublication") {
62-
this as Jar
63-
from(sourceSets.main.get().allSource)
64-
}
65-
}
66-
6758
tasks.named("check") {
6859
finalizedBy(rootProject.tasks.named("detekt"))
6960
finalizedBy(rootProject.tasks.named("markdownlint"))

fixture/build.gradle.kts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,6 @@ tasks.withType<KotlinCompile> {
6666
kotlinOptions.jvmTarget = JavaVersion.VERSION_1_8.toString()
6767
}
6868

69-
// Fix lack of source code when publishing pure Kotlin projects
70-
// See https://github.com/novoda/bintray-release/issues/262
71-
tasks.whenTaskAdded {
72-
if (name == "generateSourcesJarForMavenPublication") {
73-
this as Jar
74-
from(sourceSets.main.get().allSource)
75-
}
76-
}
77-
7869
tasks.named("check") {
7970
finalizedBy(rootProject.tasks.named("detekt"))
8071
finalizedBy(rootProject.tasks.named("markdownlint"))

0 commit comments

Comments
 (0)