Skip to content

Commit 664e32f

Browse files
authored
Merge pull request #39 from newrelic/add-sources-and-javadoc-jars
Add sources and javadoc jars to build
2 parents 8708919 + a0b8deb commit 664e32f

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

build.gradle

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ plugins {
2020
id 'signing'
2121
}
2222

23+
java {
24+
sourceCompatibility = JavaVersion.VERSION_1_8
25+
targetCompatibility = JavaVersion.VERSION_1_8
26+
withSourcesJar()
27+
withJavadocJar()
28+
}
29+
2330
apply plugin: 'com.github.sherter.google-java-format'
2431

2532
repositories {
@@ -29,9 +36,6 @@ repositories {
2936
}
3037
}
3138

32-
sourceCompatibility = JavaVersion.VERSION_1_8
33-
targetCompatibility = JavaVersion.VERSION_1_8
34-
3539
dependencies {
3640
implementation 'com.amazonaws:aws-lambda-java-core:1.1.0'
3741
// 2.2.7 is earliest version that has all needed event sources

0 commit comments

Comments
 (0)