Skip to content

Commit 4dc12c5

Browse files
author
Sagar Sane
committed
Upgrade Joda-Time to 2.7 and update MANIFEST to accept [2,3) for AEM 6.1 and 6.2 compatibility
1 parent 4afa2bf commit 4dc12c5

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,10 @@ ext.providerLink = "https://github.com/TWCable/grabbit"
6363
attributes 'Implementation-Title': project.name
6464
attributes 'Implementation-Version': project.version
6565
attributes 'Implementation-Vendor': project.vendor
66+
67+
instruction 'Import-Package', 'org.joda.time; version="[2,3)"'
68+
instruction 'Import-Package', 'org.joda.time.base; version="[2,3)"'
69+
instruction 'Import-Package', 'org.joda.time.format; version="[2,3)"'
6670
}
6771

6872
afterEvaluate {

gradle/dependencies.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ dependencies {
2525
compile "org.apache.felix:org.osgi.core:${felix_osgi_version}"
2626
compile "org.apache.felix:org.osgi.compendium:${felix_osgi_version}"
2727

28-
compile "joda-time:joda-time:1.6.2"
28+
compile "joda-time:joda-time:2.7"
2929

3030
// Need the "javax.jms" library for Spring JMS
3131
compile "org.glassfish:javax.jms:${jms_version}"

0 commit comments

Comments
 (0)