Reputation: 1610
What I want to do is to add this GitHub - Custom-Calendar-View Android Library Project created on Android Studio.
I read a lot of questions and answers about, on SO, but none fits my case. How can to this? Need to export a .jar from Android Library Project on Android Studio? if so, how? Also its important to me to use the resources of Custom-Calendar-View library.
Any help?
Upvotes: 0
Views: 937
Reputation: 11873
You can simply compile the library into a jar file and then import in Eclipse. By Default Gradle provides building a jar from source code. See the example,
// Include dependent libraries in archive.
mainClassName = "com.company.application.Main"
jar {
manifest {
attributes "Main-Class": "$mainClassName"
}
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
}
You can check other solutions for building a jar with dependencies using Gradle here!
Upvotes: 1
Reputation: 281
This is my small suggestion you can use the below link and this is the Calendar Control developed using eclipse. If possible you can use this one.
https://github.com/Rajendhiran/AndroidCalendarWidgetLibrary
This has the swipe gesture feature as well.
Upvotes: 0