Skip to content

Commit

Permalink
Gradle: Maven changes for release
Browse files Browse the repository at this point in the history
  • Loading branch information
Foxpace committed Sep 27, 2021
1 parent 2b89a03 commit a8ebbd4
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@

```groovy
dependencies {
implementation 'com.github.Creative-Motion-Apps:Kotlin-Ecg-Detectors:0.0.3'
implementation 'com.github.Creative-Motion-Apps:Kotlin-Ecg-Detectors:0.0.4'
}
```
Expand All @@ -73,7 +73,7 @@
<dependency>
<groupId>com.github.Creative-Motion-Apps</groupId>
<artifactId>Kotlin-Ecg-Detectors</artifactId>
<version>0.0.3</version>
<version>0.0.4</version>
</dependency>
```

Expand Down
17 changes: 14 additions & 3 deletions kotlin_ecg_detectors/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
apply plugin: 'java-library'
apply plugin: 'java'
apply plugin: 'kotlin'
group = "com.github.Creative-Motion-Apps"

apply plugin: 'maven-publish'

buildscript {
ext.kotlin_version = '1.5.31'
Expand Down Expand Up @@ -32,5 +31,17 @@ dependencies {
}
}

publishing {
publications {
mavenJava(MavenPublication) {
groupId = 'com.github.Creative-Motion-Apps'
artifactId = 'KotlinEcgDetectors'
version = '0.0.4'

from components.java
}
}
}

sourceCompatibility = "1.8"
targetCompatibility = "1.8"

0 comments on commit a8ebbd4

Please sign in to comment.