Fontify icon indicating copy to clipboard operation
Fontify copied to clipboard

Using Fontify in an Android Studio Project

Open tuxone opened this issue 12 years ago • 2 comments

Hi Danh, could you provide a simple way to include Fontify using gradle?

Thank you in advice!

tuxone avatar Dec 05 '13 10:12 tuxone

Hey @tuxone, I haven't looked into gradle much at all yet. I'd be happy to merge a pull-request, though. Otherwise it might be a while :)

danh32 avatar Dec 11 '13 05:12 danh32

Just put a build.gradle file in the main folder of the library project with the following content:

apply plugin: 'android-library'

android { compileSdkVersion 19 buildToolsVersion '19.0.1'

sourceSets { main { manifest.srcFile 'AndroidManifest.xml' java.srcDirs = ['src'] res.srcDirs = ['res'] } } }

and you can use the library in Android Studio.

jelmervisser avatar Feb 17 '14 08:02 jelmervisser