Skip to content

Commit

Permalink
fix gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
viartemev committed Dec 30, 2020
1 parent 2e7a354 commit 68ed3e4
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version '1.4.21'
id 'com.adarshr.test-logger' version '2.1.1'
id "com.jfrog.bintray" version "1.+"
id "com.jfrog.bintray" version "1.8.5"
id 'maven-publish'
}

group 'com.viartemev'
Expand Down Expand Up @@ -58,12 +59,20 @@ def pomConfig = {
}
}

task sourcesJar(type: Jar, dependsOn: classes) {
classifier = 'sources'
from sourceSets.main.allSource
}

artifacts {
archives sourcesJar
}

publishing {
publications {
MyPublication(MavenPublication) {
from components.java
artifact sourcesJar
artifact javadocJar
groupId 'com.viartemev'
artifactId 'ktor-flyway-feature'
version '1.2.0'
Expand Down Expand Up @@ -91,9 +100,3 @@ bintray {
vcsUrl = 'https://github.com/viartemev/ktor-flyway-feature.git'
}
}

publish {
groupId = 'com.viartemev'
artifactId = 'ktor-flyway-feature'
publishVersion = '1.1.0'
}

0 comments on commit 68ed3e4

Please sign in to comment.