• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

mente/facebook-api-android-aar: Facebook Android SDK library built with gradle i ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

mente/facebook-api-android-aar

开源软件地址(OpenSource Url):

https://github.com/mente/facebook-api-android-aar

开源编程语言(OpenSource Language):

Groovy 77.0%

开源软件介绍(OpenSource Introduction):

DEPRECATED

Facebook published own SDK to maven. Using it is encouraged.

facebook-api-android-aar

Facebook Android SDK library built with gradle in aar format for usage with android gradle build system. Versions included: 3.0.2, 3.5.0, 3.5.2, 3.6.0, 3.7.0, 3.8.0, 3.14.1, 3.15.0, 3.16, 3.17.1, 3.19.0, 3.19.1, 3.20

How to use

Before you can get aar you should checkout facebook-android-sdk submodule. Overall build process including build is straightforward:

  $ git submodule update --init
  ...
  $ ./gradlew build
  ...

When build is finished aar file will be located in build/libs.

WARNING for >3.14 sdk users

Starting from 3.14 version facebook depends on bolts framework. Android gradle plugin does not resolve aar dependencies implicitly. You'll have to make it explicitly:

compile ('com.facebook:facebook-android-sdk:+@aar') {
    transitive = true
}

Maven artifact

For a lazy people (such as I) there's a maven repository with already built facebook artifact located at http://mente.github.io/facebook-api-android-aar . build.gradle example:

buildscript {
    repositories {
        mavenCentral()
    }

    dependencies {
        classpath 'com.android.tools.build:gradle:+'
    }
}

repositories {
    mavenCentral()
    mavenLocal()
    maven {
        url "http://mente.github.io/facebook-api-android-aar"
    }
}

apply plugin: 'android'
dependencies {
    compile ('com.facebook:facebook-android-sdk:+@aar') {
        transitive = true
    }
    //your other dependencies
}

android {
  //android build setup
}



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
jiangzhengnan/Xerath: 发布时间:2022-06-14
下一篇:
gradle/gradle-hello-world-plugin发布时间:2022-06-14
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap