memtrip / SQLKing

SQLKing is an Android SQLite ORM powered by an annotation preprocessor, tables are defined by Table annotations and CRUD classes expose an expressive api for executing SQLite queries. @memtrip
Other
21 stars 9 forks source link

Unable to get android-apt to work with Android Studio 1.5 or 2.0, gradle rev 2.8 #1

Closed Trellian closed 8 years ago

Trellian commented 8 years ago

Hi,

I've just tried to update to the new version of SQLKing. It is completely different from the first version, and has several dependencies. One of them is the android-apt plugin, but I can't get gradle to recognise 'apt'.

Have you perhaps got a small demo project that implements a full SQLKing example?

Thanks in advance, Adrian

samkirton commented 8 years ago

Hi Adrian,

Use these dependencies: dependencies { apt 'com.memtrip.sqlking:preprocessor:1.0.4' compile 'com.memtrip.sqlking:client:1.0.5' }

I did not update the documentation for the latest version, sorry about that.

I will create a sample project, but for now take a look at: https://bitbucket.org/hvisser/android-apt

It explains how to use the android-apt plugin, which runs the annotation preprocessor.

Cheers, Sam

Trellian commented 8 years ago

Hi Sam,

Thanks for that, and the very prompt response. I'm just busy installing the latest Studio updates and Gradle 2.12, the moment it is done I will give it a shot.

However, I have had a long look at https://bitbucket.org/hvisser/android-apt. The following issue: https://bitbucket.org/hvisser/android-apt/issues/33/support-for-jack-and-jill has a discussion around the compatibility with the new gradle-plugin.

I will likely have to take it up with Hugo.

What IDE and tool versions are you using? Maybe that will help me to get a handle on how to fix this.

Thanks, and best regards, Adrian

On 22 Apr 2016 10:27, Samuel Kirton wrote:

Hi Adrian,

Use these dependencies: |dependencies { apt 'com.memtrip.sqlking:preprocessor:1.0.4' compile 'com.memtrip.sqlking:client:1.0.5' }|

I did not update the documentation for the latest version, sorry about that.

I will create a sample project, but for now take a look at: https://bitbucket.org/hvisser/android-apt

It explains how to use the android-apt plugin, which runs the annotation preprocessor.

Cheers, Sam

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/memtrip/SQLKing/issues/1#issuecomment-213324103

samkirton commented 8 years ago

I added a sample project: https://github.com/memtrip/SQLKing/tree/master/sample

Cheers, Sam

Trellian commented 8 years ago

Thank you very much for the help Sam, it's appreciated!.

My very best regards, Adrian

On 22 Apr 2016 14:16, Samuel Kirton wrote:

I added a sample project: https://github.com/memtrip/SQLKing/tree/master/sample

Cheers, Sam

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/memtrip/SQLKing/issues/1#issuecomment-213400610