-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Build BDK using Gradle Use Gradle instead of Maven for faster builds thanks to incremental support! Most of the configuration is at the root level and applied to all subprojects. Sub projects mostly define their dependencies. Use the Java platform support to implement Maven BOM and align dependencies. Gradle wrapper can be used to build. Circle CI configuration has been updated. Jenkins configuration for release is not yet migrated. Code coverage configuration for legacy BDK felt off, we need to review it together. * Code coverage configuration for legacy Put back BUNDLE coverage and use the current value for coverage check * Remove unused method * Put back Maven wrapper for now * Support Snyk scan Repositories were not defined for BOM
- Loading branch information
1 parent
36a0519
commit d11f39e
Showing
26 changed files
with
831 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
allprojects { | ||
group = 'com.symphony.platformsolutions' | ||
version = '1.2.0-SNAPSHOT' | ||
|
||
defaultTasks 'build' | ||
} | ||
|
||
subprojects { | ||
apply plugin: 'signing' | ||
} | ||
|
||
configure(subprojects.findAll { it.name != 'symphony-bdk-bom' }) { | ||
apply plugin: 'java' | ||
apply plugin: 'jacoco' | ||
apply plugin: 'maven-publish' | ||
|
||
repositories { | ||
mavenCentral() | ||
} | ||
|
||
publishing { | ||
publications { | ||
maven(MavenPublication) { | ||
from(components.java) | ||
} | ||
} | ||
} | ||
|
||
signing { | ||
sign publishing.publications.maven | ||
} | ||
|
||
sourceCompatibility = '1.8' | ||
|
||
tasks.withType(JavaCompile) { | ||
options.encoding = 'UTF-8' | ||
} | ||
|
||
javadoc { | ||
options.addStringOption('Xdoclint:none', '-quiet') | ||
} | ||
|
||
java { | ||
withJavadocJar() | ||
withSourcesJar() | ||
} | ||
|
||
jar { | ||
manifest { | ||
attributes("Implementation-Title": project.name, | ||
"Implementation-Version": project.version) | ||
} | ||
} | ||
|
||
test { | ||
useJUnitPlatform() | ||
} | ||
|
||
dependencies { | ||
implementation platform(project(':symphony-bdk-bom')) | ||
annotationProcessor platform(project(':symphony-bdk-bom')) | ||
testAnnotationProcessor platform(project(':symphony-bdk-bom')) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.6.1-bin.zip | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
Oops, something went wrong.