Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Update Kotlin to v1.2.71 #643

Merged
merged 9 commits into from
Sep 16, 2019
Merged

Update Kotlin to v1.2.71 #643

merged 9 commits into from
Sep 16, 2019

Conversation

mattleibow
Copy link
Collaborator

@mattleibow mattleibow commented Aug 15, 2019

This PR contains a few things:

  • changes for a tool that needs to be merged and released (Add tooling to help with binding Kotlin libraries #642)
  • updates to the Kotlin binding project to use binderator
  • dropping the version of Kotlin to the latest v1.2.x so that older libraries can still work (I will update to v1.3 as soon as this is released)
  • using the Kotlin binding support tool to improve the quality of the binding.

This PR also works around a few issues in the generator stack:

 - dropped the version to v1.2.71 (the latest v1.2 before upgrading)
 - using binderator instead of manual projects
 - using targets files instead of embedded jars
<PackageReference Include="@(dep.NuGetPackageId)" Version="@(dep.NuGetVersion)" />
}
}
<PackageReference Include="Xamarin.Kotlin.BindingSupport" Version="0.1.0-preview" PrivateAssets="All" />
Copy link
Collaborator Author

@mattleibow mattleibow Aug 15, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the new tool in use - just meant for binding projects, and should have all its assets private.

This will cause the build to fail, because this package is not yet released: #642


<ItemGroup>
@foreach (var art in @Model.MavenArtifacts) {
<AndroidJavaLibrary Include="$(MSBuildThisFileDirectory)..\..\jar\@(art.MavenGroupId).@(art.MavenArtifactId).jar" />
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using the new AndroidJavaLibrary element so as to avoid embedding the jars in the dll.

@mattleibow mattleibow changed the title Update Kotlin to v1.2.71 [WIP] Update Kotlin to v1.2.71 Aug 16, 2019
@mattleibow mattleibow added needs-review Review requested on code changes ready-to-merge Can be merged once reviewd and removed do-not-merge labels Sep 16, 2019
@Redth Redth changed the title [WIP] Update Kotlin to v1.2.71 Update Kotlin to v1.2.71 Sep 16, 2019
@Redth Redth merged commit 422ed45 into master Sep 16, 2019
@Redth Redth deleted the dev/kotlin-binding branch September 16, 2019 17:47
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs-review Review requested on code changes ready-to-merge Can be merged once reviewd
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants