From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 94837 invoked by alias); 24 Apr 2016 16:10:58 -0000 Mailing-List: contact kawa-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: kawa-owner@sourceware.org Received: (qmail 94811 invoked by uid 89); 24 Apr 2016 16:10:56 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: =?ISO-8859-1?Q?No, score=0.1 required=5.0 tests=AWL,BAYES_40,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=0.8, adri=c3=a1n, adrin, Adri=c3=a1n?= X-HELO: out2-smtp.messagingengine.com Received: from out2-smtp.messagingengine.com (HELO out2-smtp.messagingengine.com) (66.111.4.26) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Sun, 24 Apr 2016 16:10:45 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id DBC8025045; Sun, 24 Apr 2016 12:10:43 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute3.internal (MEProxy); Sun, 24 Apr 2016 12:10:43 -0400 Received: from [192.168.103.22] (x590c08af.dyn.telefonica.de [89.12.8.175]) by mail.messagingengine.com (Postfix) with ESMTPA id 75F74680292 for ; Sun, 24 Apr 2016 12:10:43 -0400 (EDT) Subject: Re: first Android app - Didn't find class To: kawa@sourceware.org References: <57131D2E.1040705@bothner.com> From: =?utf-8?Q?Adri=C3=A1n=20Medra=C3=B1o=20Calvo?= Message-ID: <571CF002.9060403@fastmail.fm> Date: Sun, 24 Apr 2016 16:10:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes X-SW-Source: 2016-q2/txt/msg00014.txt.bz2 Dear list, On 04/17/2016 08:41 AM, F. Rafael Leon wrote: > On Sun, Apr 17, 2016@1:20 AM, Per Bothner wrote: >> Would it make sense to update the Kawa/Android instructions to use Gradle >> rather than Ant? > > The answer is yes. Gradle is the accepted standard. > > For introducing current Android developers to Kawa, gradle would be > the path of least friction. Indeed. Please, check out the new gradle-kawa-plugin: https://github.com/medranocalvo/gradle-kawa-plugin The plugin integrates Kawa into the Android build system (buildTypes, productFlavors, etc...). There's yet no convenient support for standalone Kawa projects, though it should not be difficult to add. I use a rather simple build script myself for Android, we'll see how well it copes with more complex ones. Rafael, I read that you have recently published an app (congratulations!), it would be great if you could try to build it with the plugin. There are many possible improvements... I would like to have some automated testing, in order to make sure it works with many Gradle/Android versions. Time is scarce, tough. Needless to say, it would be great if people using Kawa on Android give a hand. I'm being optimistic and have called it 0.8 already :-). Looking forward to your comments! Best regards, Adrián.