Skip to content

Commit

Permalink
Update build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
levkopo committed Feb 24, 2021
1 parent 9303056 commit b8bf313
Showing 1 changed file with 65 additions and 2 deletions.
67 changes: 65 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
plugins {
id 'java'
id "java-library"
id "maven-publish"
id "signing"
}


group 'com.github.kayjamlang'
archivesBaseName = "core"
version '0.1'

dependencies {
Expand All @@ -11,4 +15,63 @@ dependencies {

repositories {
mavenCentral()
}
}

publishing {
publications {
mavenJava(MavenPublication) {
groupId = 'com.github.kayjamlang'
artifactId = 'core'
version = '0.1'

pom {
name = 'KayJam Core'
description = 'Provides lexer, ast parser and tools for compiling KayJam code'
url = 'https://github.com/KayJamLang/core'
licenses {
license {
name = 'GNU General Public License v3.0'
url = 'https://www.gnu.org/licenses/gpl-3.0.html'
}
}

developers {
developer {
id = 'levkopo'
name = 'Lev Koporushkin'
email = '[email protected]'
}
}

scm {
connection = 'scm:git:git://github.com/KayJamLang/core.git'
developerConnection = 'scm:git:ssh://github.com/KayJamLang/core.git'
url = 'https://github.com/KayJamLang/core'
}
}

from components.java
}
}

repositories {
maven {
url 'https://oss.sonatype.org/service/local/staging/deploy/maven2/'
credentials {
username sonatypeUsername
password sonatypePassword
}
}
}
}

java {
withJavadocJar()
withSourcesJar()
}

signing {
sign publishing.publications.mavenJava
}


0 comments on commit b8bf313

Please sign in to comment.