Skip to content

Commit

Permalink
fix(gradle): Fix gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
wellimbharath committed Oct 14, 2021
1 parent e9af9bb commit bc1d51d
Showing 1 changed file with 10 additions and 22 deletions.
32 changes: 10 additions & 22 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
}

group 'net.cryptonotifier'
version '1.0.0-SNAPSHOT'
version '0.0.9'

repositories {
mavenCentral()
Expand Down Expand Up @@ -65,28 +65,16 @@ sourceSets {
}
}

publishing {

subprojects {
apply plugin: 'maven-publish'
apply plugin: 'java'
apply plugin: 'org.jetbrains.kotlin.jvm'
version '1.3.0'
publishing {
repositories {
maven {
name = "GitHubPackages"
url = 'https://maven.pkg.github.com/Bharathsh36/bharathsh36'
credentials {
username = project.findProperty("gpr.user") ?: System.getenv("USER")
password = project.findProperty("gpr.key") ?: System.getenv("TOKEN")
}
}
}
publications {
create("gpr", MavenPublication) {
from(components["java"])
repositories {
maven {
name = "GitHubPackages"
url = "https://maven.pkg.github.com/Bharathsh36/cnotifier-sdk"
credentials {
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
}
}
}
}

}

0 comments on commit bc1d51d

Please sign in to comment.