This commit is contained in:
Matthew Leibowitz 2019-11-20 00:40:53 +02:00
Родитель c7c72d8deb
Коммит 88a19e1921
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 00A672181E6BF432
3 изменённых файлов: 43 добавлений и 17 удалений

Просмотреть файл

@ -1,7 +1,7 @@
THIRD-PARTY SOFTWARE NOTICES AND INFORMATION
Do not translate or localize
Xamarin Components for Google's Android Support libraries incorporates
Xamarin Components for Google's Android X libraries incorporates
third party material from the projects listed below. The original copyright
notice and the license under which Microsoft received such third party
material are set forth below. Microsoft reserves all other rights not
@ -214,6 +214,6 @@ expressly granted, whether by implication, estoppel or otherwise.
See the License for the specific language governing permissions and
limitations under the License.
########################################
# END - Google Android Support libraries
########################################
#########################################################
# END - Google AndroidX libraries and Constraint Layout
#########################################################

Просмотреть файл

@ -1,13 +1,39 @@
# AndroidX for Xamarin.Android
Xamarin creates and maintains Xamarin.Android bindings for the Google Android Support Libraries and AndroidX.
Xamarin creates and maintains Xamarin.Android bindings for AndroidX.
## Building
Building nuget packages from source requires calling the cake script:
### Prerequisites
Before building the libraries and samples in this repository, you will need to install [.NET Core](https://dotnet.microsoft.com/download) and the [Cake .NET Core Tool](http://cakebuild.net):
```sh
dotnet tool install -g cake.tool
```
.\build.ps1 --target=packages
When building on macOS, you may also need to install [CocoaPods](https://cocoapods.org/):
```sh
# Homebrew
brew install cocoapods
# Ruby Gems
gem install cocoapods
```
### Compiling
You can now build all the packages by running:
```sh
dotnet cake
```
If you are going to make changes to the `config.json`, then you can run the `packages` target to re-generate all the necessary files:
```sh
dotnet cake --target=packages
```
## Android Support -> AndroidX Roadmap

Просмотреть файл

@ -291,12 +291,6 @@ Task ("full-run")
.IsDependentOn ("nuget")
.IsDependentOn ("samples");
Task ("Default")
.IsDependentOn ("binderate")
.IsDependentOn ("nuget")
.IsDependentOn ("generate-mapping")
.IsDependentOn ("samples");
Task ("ci")
.IsDependentOn ("check-tools")
.IsDependentOn ("inject-variables")
@ -305,8 +299,14 @@ Task ("ci")
.IsDependentOn ("generate-mapping")
.IsDependentOn ("samples");
// for local builds, conditionally do the first binderate
if (FileExists ("./generated/AndroidX.sln")) {
Task ("Default")
.IsDependentOn ("nuget");
} else {
Task ("Default")
.IsDependentOn ("binderate")
.IsDependentOn ("nuget");
}
RunTarget (TARGET);
// CakeExecuteScript("./nuget-diff.cake");
// CakeExecuteScript("./api-diff.cake");