Skip to content

Commit

Permalink
osgifying
Browse files Browse the repository at this point in the history
  • Loading branch information
Blake Carpenter committed Sep 8, 2014
1 parent efb889b commit 6dc2da6
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
apply plugin: 'osgi'
ext.githubProjectName = rootProject.name

buildscript {
Expand Down
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 6dc2da6

Please sign in to comment.