forked from facebook/litho
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add gradle support for litho-sections-widget
Summary: Gradle build support, without releases for now. Reviewed By: IanChilds Differential Revision: D5890339 fbshipit-source-id: e00e641dd40454d5fb20757e5c43c8e04f87eb4a
- Loading branch information
1 parent
16e093b
commit f07a7f2
Showing
3 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
/* | ||
* Copyright (c) 2017-present, Facebook, Inc. | ||
* All rights reserved. | ||
* | ||
* This source code is licensed under the BSD-style license found in the | ||
* LICENSE file in the root directory of this source tree. An additional grant | ||
* of patent rights can be found in the PATENTS file in the same directory. | ||
*/ | ||
|
||
apply plugin: 'com.android.library' | ||
apply plugin: 'maven' | ||
|
||
project.group = GROUP | ||
version = VERSION_NAME | ||
|
||
android { | ||
compileSdkVersion rootProject.compileSdkVersion | ||
buildToolsVersion rootProject.buildToolsVersion | ||
|
||
defaultConfig { | ||
minSdkVersion rootProject.minSdkVersion | ||
} | ||
} | ||
|
||
dependencies { | ||
// Project dependencies | ||
compileOnly project(':litho-annotations') | ||
compileOnly project(':litho-sections-annotations') | ||
implementation project(':litho-sections-core') | ||
implementation project(':litho-core') | ||
implementation project(':litho-widget') | ||
annotationProcessor project(':litho-sections-processor') | ||
|
||
// compileOnly dependencies | ||
compileOnly deps.jsr305 | ||
|
||
// Android Support Library | ||
compileOnly deps.supportAnnotations | ||
implementation deps.supportRecyclerView | ||
implementation deps.supportCoreUi | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<!-- | ||
~ Copyright (c) 2017-present, Facebook, Inc. | ||
~ All rights reserved. | ||
~ | ||
~ This source code is licensed under the BSD-style license found in the | ||
~ LICENSE file in the root directory of this source tree. An additional grant | ||
~ of patent rights can be found in the PATENTS file in the same directory. | ||
--> | ||
|
||
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | ||
package="com.facebook.litho.sections.widget"> | ||
</manifest> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters