File tree Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Expand file tree Collapse file tree 1 file changed +15
-1
lines changed Original file line number Diff line number Diff line change 1313 * See the License for the specific language governing permissions and
1414 * limitations under the License.
1515 */
16+
17+ plugins {
18+ id ' java' // or 'groovy' Must be explicitly applied
19+ id ' com.github.johnrengelman.shadow' version ' 1.2.0'
20+ }
21+
1622apply plugin : ' java'
1723apply plugin : ' maven'
1824apply plugin : ' signing'
1925apply plugin : ' checkstyle'
2026apply plugin : ' eclipse'
27+ apply plugin : ' com.github.johnrengelman.shadow'
2128
22- defaultTasks ' clean' , ' build' , ' install'
29+ defaultTasks ' clean' , ' build' , ' shadowJar ' , ' install'
2330
2431group = ' uk.co.real-logic'
2532version = ' 1.0.4-RC2-SNAPSHOT'
@@ -66,6 +73,8 @@ sourceSets {
6673}
6774
6875dependencies {
76+ compile ' uk.co.real-logic:Agrona:0.1'
77+
6978 testCompile ' org.hamcrest:hamcrest-all:1.3' ,
7079 ' junit:junit:4.11' ,
7180 ' org.mockito:mockito-all:1.9.5' ,
@@ -135,6 +144,11 @@ jar {
135144 manifest. attributes(' Main-Class' : ' uk.co.real_logic.sbe.SbeTool' )
136145}
137146
147+ shadowJar {
148+ baseName = ' sbe-all'
149+ classifier = ' '
150+ }
151+
138152task sourcesJar (type : Jar ) {
139153 classifier = ' sources'
140154 from sourceSets. main. allSource
You can’t perform that action at this time.
0 commit comments