Skip to content

Commit

Permalink
add overaching build.gradle to handle publishing to maven
Browse files Browse the repository at this point in the history
  • Loading branch information
linglejack06 committed Aug 20, 2024
1 parent 8d2915d commit 7d9131f
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
plugins {
id 'java-library'
id 'maven-publish'
}

// configure publication tasks for maven-publish
// run with gradle publish or ./gradlew publish
publishing {
publications {
coppercore(MavenPublication) {
groupId = 'io.github.team401'
artifactId = 'coppercore'
version = '0.0.1'
from components.java
}
}


// sets up maven repository as online central
repositories {
mavenCentral()
}
}

0 comments on commit 7d9131f

Please sign in to comment.