Skip to content

Commit

Permalink
fix(error): Fix error info
Browse files Browse the repository at this point in the history
  • Loading branch information
wellimbharath committed Oct 14, 2021
1 parent 0efdd09 commit e9af9bb
Showing 1 changed file with 30 additions and 46 deletions.
76 changes: 30 additions & 46 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
plugins {
id 'maven-publish'
id 'com.google.cloud.tools.jib' version '3.1.4'
id 'java'
id 'jacoco'
id 'maven-publish'
}

group 'net.cryptonotifier'
Expand All @@ -23,8 +23,11 @@ dependencies {

implementation group: 'org.apache.commons', name: 'commons-lang3', version: '3.12.0'


implementation group: 'com.squareup.retrofit2', name: 'converter-jackson', version: '2.9.0'

testImplementation 'junit:junit:4.12'

testImplementation 'junit:junit:4.13.2'
testImplementation('org.junit.jupiter:junit-jupiter:5.5.2')
// https://mvnrepository.com/artifact/org.projectlombok/lombok
Expand Down Expand Up @@ -61,48 +64,29 @@ sourceSets {
}
}
}
//
//uploadArchives {
// repositories {
// mavenDeployer {
// beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
//
// repository(url: "https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/") {
// authentication(userName: ossrhUsername, password: ossrhPassword)
// }
//
// snapshotRepository(url: "https://s01.oss.sonatype.org/content/repositories/snapshots/") {
// authentication(userName: ossrhUsername, password: ossrhPassword)
// }
//
// pom.project {
// name 'Cryptonotifier Java Client'
// packaging 'jar'
// // optionally artifactId can be defined here
// description 'Cryptonotifier Java Client for using apis of https://www.cryptonotifier.net'
// url 'https://www.cryptonotifier.net'
//
// scm {
// connection 'scm:svn:http://foo.googlecode.com/svn/trunk/'
// developerConnection 'scm:svn:https://foo.googlecode.com/svn/trunk/'
// url 'http://foo.googlecode.com/svn/trunk/'
// }
//
// licenses {
// license {
// name 'The Apache License, Version 2.0'
// url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
// }
// }
//
// developers {
// developer {
// id 'bharathsh36'
// name 'Bharath M'
// email '[email protected]'
// }
// }
// }
// }
// }
//}


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"])
}
}
}
}

0 comments on commit e9af9bb

Please sign in to comment.