use massive sed hack to patch a srclib instead of using an extlib
This commit is contained in:
parent
0b20048525
commit
2bdc921fe6
|
@ -1,21 +0,0 @@
|
|||
apply plugin: 'java'
|
||||
apply plugin: 'maven'
|
||||
|
||||
sourceCompatibility = 1.6
|
||||
|
||||
|
||||
version = '1.0-SNAPSHOT'
|
||||
group = 'com.swaccess'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.0.1'
|
||||
compile group: 'org.apache.httpcomponents', name: 'httpcore', version: '4.0.1'
|
||||
compile group: 'org.jsoup', name: 'jsoup', version: '1.6.1'
|
||||
compile group: 'com.google.code.gson', name: 'gson', version: '2.2.1'
|
||||
compile group: 'org.projectlombok', name: 'lombok', version:'1.12.2'
|
||||
}
|
||||
|
|
@ -28,11 +28,10 @@ Build:011 beta,11
|
|||
Build:014 beta,14
|
||||
commit=33
|
||||
subdir=SmashwordsAccess
|
||||
extlibs=SW-build.gradle_58
|
||||
srclibs=1:ActionBarSherlock@4.4.0;Smashwords-API@58;ImageLoader-Novoda@imageloader-parent-1.5.8
|
||||
rm=SmashwordsAccess/libs/imageloader-core-1.5.8.jar
|
||||
prebuild=cp -r $$ImageLoader-Novoda$$/src/main/java/com/novoda/ src/com/ && \
|
||||
mv libs/SW-build.gradle_58 $$Smashwords-API$$/build.gradle
|
||||
sed -i "2d;5s/:/=/g;13,14d;s/compile 'com.google.code.gson:gson:2.2.1'/compile group: 'com.google.code.gson', name: 'gson', version: '2.2.1'/g;s/compile 'org.projectlombok:lombok:1.12.2'/compile group: 'org.projectlombok', name: 'lombok', version: '1.12.2'/g;26,28d" $$Smashwords-API$$/build.gradle
|
||||
build=gradle jar -p $$Smashwords-API$$ && \
|
||||
mv $$Smashwords-API$$/build/libs/SmashwordsAPI-1.0-SNAPSHOT.jar libs/
|
||||
|
||||
|
|
Loading…
Reference in a new issue