Skip to content

Commit bd77434

Browse files
committed
Individual publications
1 parent ad62426 commit bd77434

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

build.gradle

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,13 @@ buildscript {
1818
}
1919

2020
group 'com.github.koresframework'
21-
version '4.1.9.bytecode.1'
21+
version '4.1.10.bytecode.1'
2222

2323
apply from: project(":Kores").file("gradle/common.gradle")
2424

25+
// Publish
26+
apply plugin: 'maven-publish'
27+
2528
def GITHUB_USERNAME = project.findProperty("USERNAME") ?: System.getenv("USERNAME")
2629
def GITHUB_PAT = project.findProperty("TOKEN") ?: System.getenv("TOKEN")
2730

@@ -72,6 +75,14 @@ tasks.dokkaGfm.configure {
7275
enabled = false
7376
}
7477

78+
allprojects {
79+
tasks.whenTaskAdded { task ->
80+
if (task.name.contains("dokkaGfm")) {
81+
task.enabled = false
82+
}
83+
}
84+
}
85+
7586
shadowJar {
7687
dependencies {
7788
include(project(":Kores"))
@@ -97,9 +108,11 @@ publishing {
97108
}
98109
}
99110
}
111+
100112
publications {
101113
maven(MavenPublication) {
102114
artifactId 'kores-bytecodewriter'
115+
from components.kotlin
103116

104117
artifact sourcesJar
105118
}

0 commit comments

Comments
 (0)