Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- buildscript {
- repositories {
- maven { url 'https://maven.fabric.io/public' }
- /* maven{
- url 'https://dl.bintray.com/wasabifx/wasabifx/'
- }*/
- jcenter()
- }
- dependencies {
- // classpath 'io.fabric.tools:gradle:1.+'
- classpath "io.realm:realm-gradle-plugin:2.3.1"
- classpath 'com.canelmas.let:let-plugin:0.1.11'
- }
- }
- apply plugin: 'com.android.application'
- //apply plugin: 'io.fabric'
- apply plugin: 'realm-android'
- apply plugin: 'let'
- //repositories {
- // maven { url 'https://maven.fabric.io/public' }
- //}
- android {
- signingConfigs {
- config { }
- }
- lintOptions {
- abortOnError false
- disable 'MissingTranslation'
- }
- }
- android {
- // signingConfigs {
- // config {
- // }
- // }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_7
- targetCompatibility JavaVersion.VERSION_1_7
- }
- compileSdkVersion 23
- buildToolsVersion '25.0.2'
- repositories {
- mavenCentral()
- maven {
- url 'https://dl.bintray.com/ayz4sci/maven/'
- }
- maven {
- url "https://jitpack.io"
- }
- }
- packagingOptions {
- exclude 'META-INF/services/javax.annotation.processing.Processor'
- exclude 'META-INF/LICENSE.txt'
- exclude 'META-INF/NOTICE.txt'
- exclude "lib/armeabi/librealm-jni.so"
- exclude "lib/arm64-v8a/librealm-jni.so"
- exclude "lib/mips/librealm-jni.so"
- exclude "lib/x86/librealm-jni.so"
- exclude 'META-INF/NOTICE'
- exclude 'META-INF/notice.txt'
- exclude 'META-INF/NOTICE.txt'
- }
- defaultConfig {
- applicationId "com.vis.kotob"
- minSdkVersion 15
- targetSdkVersion 25
- versionCode 70
- versionName "9.0.5"
- multiDexEnabled true
- ndk {
- abiFilters "armeabi-v7a"
- }
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- // signingConfig signingConfigs.config
- debuggable false
- jniDebuggable false
- signingConfig signingConfigs.config
- }
- }
- buildTypes.each {}
- }
- dependencies {
- compile fileTree(include: ['*.jar'], dir: 'libs')
- compile files('libs/wasabi.jar')
- compile project(':facebook')
- compile project(':ramzcalender')
- compile 'de.greenrobot:eventbus:2.4.0'
- compile 'commons-codec:commons-codec:1.9'
- compile 'com.pnikosis:materialish-progress:1.7'
- compile files('libs/FlurryAnalytics-5.5.0.jar')
- compile 'com.facebook.fresco:fresco:0.7.0'
- compile 'com.cocosw:favor:0.1.0@aar'
- compile 'com.android.support:recyclerview-v7:23.1.1'
- compile 'com.android.support:cardview-v7:23.1.1'
- compile 'com.path:android-priority-jobqueue:1.1.2'
- compile 'com.android.support:appcompat-v7:23.1.1'
- compile files('libs/epublib-core-latest.jar')
- compile files('libs/slf4j-android-1.6.1-RC1.jar')
- compile 'com.jakewharton:butterknife:7.0.1'
- compile 'com.squareup.retrofit:retrofit:1.9.0'
- compile 'com.squareup.okhttp:okhttp:2.7.2'
- compile 'com.squareup.okhttp:okhttp-urlconnection:2.7.2'
- compile 'com.squareup.okhttp:okhttp:2.7.2'
- compile 'com.sothree.slidinguppanel:library:3.2.0'
- compile 'com.github.rey5137:material:1.2.2'
- //compile 'io.paperdb:paperdb:1.1'
- //TODO Don't forget to upgrade this version to maintain decryption also update the realm instance with key
- //compile 'io.realm:realm-android:1.0.0'
- compile 'com.android.support:design:23.1.1'
- compile 'com.andreabaccega:android-form-edittext:1.2.1@aar'
- compile 'com.mani:ThinDownloadManager:1.2.0'
- compile project(':PDFReader')
- compile 'net.sourceforge.htmlcleaner:htmlcleaner:2.6.1'
- compile 'com.facebook.conceal:conceal:1.0.3@aar'
- compile 'com.github.citux:datetimepicker:0.1.2'
- compile 'com.android.support:support-v4:23.1.0'
- compile 'it.sephiroth.android.library.horizontallistview:hlistview:1.2.2'
- compile 'com.urbanairship.android:urbanairship-sdk:8.2.+'
- compile 'io.reactivex:rxandroid:0.24.0'
- compile 'io.reactivex:rxjava:1.0.14'
- compile 'com.android.support:multidex:1.0.1'
- compile files('libs/commons-io-2.4.jar')
- compile 'me.henrytao:smooth-app-bar-layout:0.2.1'
- }
- apply plugin: 'com.android.library'
- repositories {
- mavenCentral()
- }
- project.group = 'com.facebook.android'
- dependencies {
- compile 'com.android.support:support-v4:[22,23)'
- compile 'com.parse.bolts:bolts-android:1.2.0'
- }
- android {
- compileSdkVersion 23
- buildToolsVersion '25.0.2'
- defaultConfig {
- minSdkVersion 15
- targetSdkVersion 19
- }
- lintOptions {
- abortOnError false
- }
- sourceSets {
- main {
- manifest.srcFile 'AndroidManifest.xml'
- java.srcDirs = ['src']
- res.srcDirs = ['res']
- }
- }
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_7
- targetCompatibility JavaVersion.VERSION_1_7
- }
- }
- apply plugin: 'maven'
- apply plugin: 'signing'
- def isSnapshot = version.endsWith('-SNAPSHOT')
- def ossrhUsername = hasProperty('NEXUS_USERNAME') ? NEXUS_USERNAME : ""
- def ossrhPassword = hasProperty('NEXUS_PASSWORD') ? NEXUS_PASSWORD : ""
- task setVersion {
- // The version will be derived from source
- project.version = null
- def sdkVersionFile = file('src/com/facebook/FacebookSdkVersion.java')
- sdkVersionFile.eachLine{
- def matcher = (it =~ /(?:.*BUILD = ")(.*)(?:".*)/)
- if (matcher.matches()) {
- project.version = matcher[0][1]
- return
- }
- }
- if (project.version.is('unspecified')) {
- throw new GradleScriptException('Version could not be found.', null)
- }
- }
- uploadArchives {
- repositories.mavenDeployer {
- beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }
- repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
- authentication(userName: ossrhUsername, password: ossrhPassword)
- }
- snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/") {
- authentication(userName: ossrhUsername, password: ossrhPassword)
- }
- pom.project {
- name 'Facebook-Android-SDK'
- artifactId = 'facebook-android-sdk'
- packaging 'aar'
- description 'Facebook Android SDK'
- url 'https://github.com/facebook/facebook-android-sdk'
- scm {
- connection 'scm:git@github.com:facebook/facebook-android-sdk.git'
- developerConnection 'scm:git@github.com:facebook/facebook-android-sdk.git'
- url 'https://github.com/facebook/facebook-android-sdk'
- }
- licenses {
- license {
- name 'Facebook Platform License'
- url 'https://github.com/facebook/facebook-android-sdk/blob/master/LICENSE.txt'
- distribution 'repo'
- }
- }
- developers {
- developer {
- id 'facebook'
- name 'Facebook'
- }
- }
- }
- }
- }
- uploadArchives.dependsOn(setVersion)
- signing {
- required { !isSnapshot && gradle.taskGraph.hasTask("uploadArchives") }
- sign configurations.archives
- }
- task androidJavadocs(type: Javadoc) {
- source = android.sourceSets.main.java.srcDirs
- classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
- // JDK 1.8 is more strict then 1.7. Have JDK 1.8 behave like 1.7 for javadoc generation
- if (org.gradle.internal.jvm.Jvm.current().getJavaVersion() == JavaVersion.VERSION_1_8) {
- options.addStringOption('Xdoclint:none', '-quiet')
- }
- }
- task androidJavadocsJar(type: Jar, dependsOn: androidJavadocs) {
- classifier = 'javadoc'
- from androidJavadocs.destinationDir
- }
- task androidSourcesJar(type: Jar) {
- classifier = 'sources'
- from android.sourceSets.main.java.sourceFiles
- }
- artifacts {
- archives androidSourcesJar
- archives androidJavadocsJar
- }
- afterEvaluate {
- androidJavadocs.classpath += project.android.libraryVariants.toList().first().javaCompile.classpath
- }
- android {
- compileSdkVersion 23
- buildToolsVersion '25.0.2'
- defaultConfig {
- minSdkVersion 14
- targetSdkVersion 23
- versionCode 1
- versionName "1.0"
- }
- buildTypes {
- release {
- minifyEnabled false
- proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
- }
- }
- }
- dependencies {
- compile fileTree(dir: 'libs', include: ['*.jar'])
- compile 'com.android.support:appcompat-v7:23.0.1'
- compile 'net.danlew:android.joda:2.8.1'
- }
- apply plugin: 'com.android.library'
- android {
- compileSdkVersion 19
- buildToolsVersion "25.0.2"
- defaultConfig {
- minSdkVersion 8
- targetSdkVersion 8
- compileOptions {
- sourceCompatibility JavaVersion.VERSION_1_5
- targetCompatibility JavaVersion.VERSION_1_5
- }
- }
- dependencies {
- //environment setup
- compile files('libs/com.radaee.view.jar')}
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement