Skip to content

Fixes #5666#5670

Open
vivekkiran wants to merge 14 commits intorealm:next-majorfrom
vivekkiran:master
Open

Fixes #5666#5670
vivekkiran wants to merge 14 commits intorealm:next-majorfrom
vivekkiran:master

Conversation

@vivekkiran
Copy link
Copy Markdown
Contributor

@vivekkiran vivekkiran commented Jan 9, 2018

Renamed directory to realm-gradle-plugin to keep it consistent with realm-gradle-plugin.
Removed Android APT Plugin and some minor refactors.
Added gen/ and /out to gitignore
Fixes #5666

@vivekkiran
Copy link
Copy Markdown
Contributor Author

@cmelchior @nhachicha

Copy link
Copy Markdown
Contributor

@cmelchior cmelchior left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this. We can unfortunately not merge the PR as it is, as it is a breaking change, but if you redirect it to next-major instead we can merge it there. We also need to update the CHANGELOG with the minimum version supported after this. I believe it is 2.2 or 2.3 right where annotationProcessor was added?

Comment thread .gitignore
# Cmake output
realm/realm-library/.externalNativeBuild

gen/
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Where do these come from?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Last time I saw gen it came from Eclipse things. 😮

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@cmelchior @Zhuinden I am not sure from where It came, I have imported the whole project in IntelliJ Ultimate, and i guess the build generated the gen folder so I have added it in the .gitignore, to ignore then gen folder.

@@ -42,30 +41,17 @@ class Realm implements Plugin<Project> {

def syncEnabledDefault = false
def dependencyConfigurationName = getDependencyConfigurationName(project)
def usesAptPlugin = project.plugins.findPlugin('com.neenbedankt.android-apt') != null
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

While I think we can remove support for this, we cannot do it in a patch release as it might be a breaking change, but if you direct this PR towards the branch next-major instead then it should be fine 👍

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

(although technically AS 3.0 cannot run android-apt anymore, but maybe some legacy projects still use it with older version of IDE)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@cmelchior I have changed the branch to next-major :)

dependencies {
implementation project(':realm-library')
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'm not entirely sure what impact this has on downstream projects?

@vivekkiran vivekkiran changed the base branch from releases to next-major January 18, 2018 06:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants