java-tutorials/gradle/maven-to-gradle/build.gradle

32 lines
494 B
Groovy
Raw Normal View History

/*
* This file was generated by the Gradle 'init' task.
*/
plugins {
id 'java'
id 'maven-publish'
}
repositories {
mavenLocal()
maven {
url = 'http://repo.maven.apache.org/maven2'
}
}
dependencies {
implementation 'org.apache.commons:commons-lang3:3.12.0'
}
group = 'com.balendung'
version = '0.0.1-SNAPSHOT'
sourceCompatibility = '1.8'
publishing {
publications {
maven(MavenPublication) {
from(components.java)
}
}
}