2023-02-26 00:57
This commit is contained in:
26
02_gradle_build_for_java_library/build.gradle.kts
Normal file
26
02_gradle_build_for_java_library/build.gradle.kts
Normal file
@@ -0,0 +1,26 @@
|
||||
plugins {
|
||||
`java-library`
|
||||
}
|
||||
|
||||
version = "0.1.0"
|
||||
|
||||
tasks {
|
||||
jar {
|
||||
manifest {
|
||||
attributes(
|
||||
mapOf("Implementation-Title" to project.name,
|
||||
"Implementation-Version" to project.version)
|
||||
)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
repositories {
|
||||
jcenter()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api("org.apache.commons:commons-math3:3.6.1")
|
||||
implementation("com.google.guava:guava:28.1-jre")
|
||||
testImplementation("junit:junit:4.12")
|
||||
}
|
||||
Reference in New Issue
Block a user