Skip to content

Commit

Permalink
Comment out publishing info in build.gradle.
Browse files Browse the repository at this point in the history
  • Loading branch information
stelitop committed Aug 25, 2024
1 parent 246c18f commit 241b7d4
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 17 deletions.
34 changes: 17 additions & 17 deletions library/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,23 +40,23 @@ dependencies {
testImplementation 'org.mockito:mockito-core:5.4.0'
}

publishing {
repositories {
maven {
name = "mad4j"
url = uri("https://maven.pkg.github.com/stelitop/mad4j")
credentials {
username = project.findProperty("gpr.user") ?: System.getenv("USERNAME")
password = project.findProperty("gpr.key") ?: System.getenv("TOKEN")
}
}
}
publications {
gpr(MavenPublication) {
from(components.java)
}
}
}
//publishing {
// repositories {
// maven {
// name = "mad4j"
// url = uri("https://maven.pkg.github.com/stelitop/mad4j")
// credentials {
// username = project.findProperty("gpr.user") ?: System.getenv("USERNAME")
// password = project.findProperty("gpr.key") ?: System.getenv("TOKEN")
// }
// }
// }
// publications {
// gpr(MavenPublication) {
// from(components.java)
// }
// }
//}

tasks.named('test') {
useJUnitPlatform()
Expand Down
1 change: 1 addition & 0 deletions test-bots/general-bot/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ dependencies {
implementation 'org.springframework.boot:spring-boot-starter'
implementation 'com.discord4j:discord4j-core:3.2.6'
implementation project(":library")
//implementation 'io.github.stelitop:mad4j:0.0.6-SNAPSHOT'

testImplementation 'org.springframework.boot:spring-boot-starter-test'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
Expand Down

0 comments on commit 241b7d4

Please sign in to comment.