Skip to content

Commit 2dcbca8

Browse files
committed
Name and version FJ core artifact
1 parent ee4c70d commit 2dcbca8

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

build.gradle

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
11

22
defaultTasks 'build'
3+
4+
ext {
5+
fjVersion = "4.0-java8"
6+
projectName = "functionaljava"
7+
}

core/build.gradle

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,14 @@ test {
3232
include '**/*Test.*'
3333
}
3434

35+
jar {
36+
baseName project.projectName
37+
version project.fjVersion
38+
manifest {
39+
attributes 'Signature-Version': project.fjVersion
40+
}
41+
}
42+
3543
// In this section you declare where to find the dependencies of your project
3644
repositories {
3745
// Use 'maven central' for resolving your dependencies.

0 commit comments

Comments
 (0)