Skip to content

Commit

Permalink
Merge pull request Netflix#310 from pequnio3/osgi
Browse files Browse the repository at this point in the history
Osgi-ify hystrix-core, hystrix-examples
  • Loading branch information
benjchristensen committed Dec 11, 2014
2 parents cb7c038 + 74e105a commit 639a398
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
12 changes: 12 additions & 0 deletions hystrix-core/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'osgi'

dependencies {
compile 'com.netflix.archaius:archaius-core:0.4.1'
Expand Down Expand Up @@ -44,3 +45,14 @@ idea {

}
}

jar {
manifest {
name = 'hystrix-core'
instruction 'Bundle-Vendor', 'Netflix'
instruction 'Bundle-DocURL', 'https://github.com/Netflix/Hystrix'
instruction 'Import-Package', '!org.junit,!junit.framework,!org.mockito.*,*'
instruction 'Eclipse-ExtensibleAPI', 'true'
instruction 'Embed-Dependency', '*;scope=compile'
}
}
11 changes: 11 additions & 0 deletions hystrix-examples/build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'osgi'

dependencies {
compile project(':hystrix-core')
Expand All @@ -27,3 +28,13 @@ idea {
scopes.COMPILE.plus += configurations.provided
}
}

jar {
manifest {
name = 'hystrix-examples'
instruction 'Bundle-Vendor', 'Netflix'
instruction 'Bundle-DocURL', 'https://github.com/Netflix/Hystrix'
instruction 'Import-Package', '!org.junit,!junit.framework,!org.mockito.*,*'
instruction 'Eclipse-ExtensibleAPI', 'true'
}
}

0 comments on commit 639a398

Please sign in to comment.