added publish.sh

pull/40/head v1.0.6
florent champigny 8 years ago
parent 972ba68125
commit bcf21991bc
  1. 4
      app/src/main/java/com/github/florent37/camerafragment/sample/MainActivityCustoms.java
  2. 12
      build.gradle
  3. 2
      camerafragment/src/main/java/com/github/florent37/camerafragment/CameraFragmentApi.java
  4. 4
      gradle/wrapper/gradle-wrapper.properties
  5. 2
      publish.sh

@ -188,7 +188,9 @@ public class MainActivityCustoms extends AppCompatActivity {
public void onPhotoTaken(byte[] bytes, String filePath) {
}
});
},
"/storage/self/primary",
"photo0");
}
}

@ -3,9 +3,9 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.3'
classpath 'com.android.tools.build:gradle:2.3.1'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.4.1'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.0'
classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
@ -20,9 +20,9 @@ allprojects {
//for Continuous Integration
ext {
sdk = 24
buildTools = "24.0.2"
sdk = 25
buildTools = "25.0.2"
minSdk = 10
libraryVersion = "1.0.5"
supportVersion = "24.0.0"
libraryVersion = "1.0.6"
supportVersion = "25.0.0"
}

@ -13,8 +13,6 @@ import com.github.florent37.camerafragment.listeners.CameraFragmentVideoRecordTe
public interface CameraFragmentApi {
void takePhotoOrCaptureVideo(CameraFragmentResultListener resultListener);
void takePhotoOrCaptureVideo(CameraFragmentResultListener resultListener, @Nullable String directoryPath, @Nullable String fileName);
void openSettingDialog();

@ -1,6 +1,6 @@
#Mon Dec 28 10:00:20 PST 2015
#Thu May 11 11:10:14 CEST 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip

@ -0,0 +1,2 @@
./gradlew :camerafragment:install
./gradlew :camerafragment:bintrayUpload
Loading…
Cancel
Save