Skip to content

Commit 0d8ca00

Browse files
committed
Add licence to jars
1 parent bcddb0f commit 0d8ca00

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2016 Lars Grefer
3+
Copyright (c) 2016-2020 Lars Grefer
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@ allprojects {
4242
}
4343
}
4444

45+
plugins.withId("java") {
46+
jar.into("META-INF") {
47+
from rootProject.file("LICENSE")
48+
}
49+
}
50+
4551
plugins.withId("maven-publish") {
4652
project.apply plugin: 'de.marcphilipp.nexus-publish'
4753

0 commit comments

Comments
 (0)