Skip to content

Commit

Permalink
publish plugin added
Browse files Browse the repository at this point in the history
  • Loading branch information
yamin8000 committed Nov 13, 2021
1 parent 5aa77ad commit a328544
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 2 deletions.
25 changes: 24 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,10 +1,33 @@
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.18.0'
}
}

plugins {
id 'java'
id 'maven-publish'
}

apply plugin: "com.vanniktech.maven.publish"

group 'io.github.TradersTeam'
version '1.0-SNAPSHOT'
version '1.0.0'

allprojects {
repositories {
google()
mavenCentral()
}
plugins.withId("com.vanniktech.maven.publish") {
mavenPublish {
sonatypeHost = "S01"
}
}
}

repositories {
mavenCentral()
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>io.github.TradersTeam</groupId>
<artifactId>coinex4j</artifactId>
<version>1.0-SNAPSHOT</version>
<version>1.0.0</version>

<properties>
<maven.compiler.source>11</maven.compiler.source>
Expand Down

0 comments on commit a328544

Please sign in to comment.