{"id":376,"date":"2019-01-18T16:47:40","date_gmt":"2019-01-18T16:47:40","guid":{"rendered":"https:\/\/chaquo.com\/chaquopy\/?page_id=376"},"modified":"2022-08-07T08:21:09","modified_gmt":"2022-08-07T07:21:09","slug":"license","status":"publish","type":"page","link":"https:\/\/chaquo.com\/chaquopy\/license\/","title":{"rendered":"Licensing"},"content":{"rendered":"\n<p>Since version 12.0.1, Chaquopy is now free and open-source, and all license restrictions have been removed. Please upgrade to the <a href=\"https:\/\/chaquo.com\/chaquopy\/doc\/current\/changelog.html\">current version<\/a> by editing the Chaquopy version number in your app&#8217;s top-level build.gradle file. <\/p>\n\n\n\n<p>The open-source builds are released on Maven Central, so there&#8217;s no longer any need to list the chaquo.com Maven repository in your settings.gradle or build.gradle file. Instead, make sure your project is set up to use <code>mavenCentral()<\/code>, as shown <a href=\"https:\/\/chaquo.com\/chaquopy\/doc\/current\/android.html#android-plugin\">here<\/a>.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Using older versions<\/h5>\n\n\n\n<p>Closed-source Chaquopy versions (12.0.0 and older) will display a license warning on startup, and will only run for 5 minutes at a time. To remove these restrictions, add the following line to your project&#8217;s <code>local.properties<\/code>\u00a0file:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">chaquopy.license=free<\/pre>\n\n\n\n<p>The notification and time limit will then be removed the next time you build the project.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Building an AAR<\/h5>\n\n\n\n<p>If you&#8217;re using a closed-source Chaquopy version to build an <a href=\"https:\/\/developer.android.com\/studio\/projects\/android-library\">Android library module<\/a> (AAR), you&#8217;ll also need to add this <code>local.properties<\/code> line to identify the app which the AAR will be built into:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">chaquopy.applicationId=<em>your.application.id<\/em><\/pre>\n\n\n\n<p>If you want to build a single AAR which is usable in multiple apps, please upgrade to the open-source version as shown above.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Since version 12.0.1, Chaquopy is now free and open-source, and all license restrictions have been removed. Please upgrade to the current version by editing the Chaquopy version number in your app&#8217;s top-level build.gradle file. The open-source builds are released on Maven Central, so there&#8217;s no longer any need to list the chaquo.com Maven repository in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"page-templates\/page_fullwidth.php","meta":{"footnotes":""},"_links":{"self":[{"href":"https:\/\/chaquo.com\/chaquopy\/wp-json\/wp\/v2\/pages\/376"}],"collection":[{"href":"https:\/\/chaquo.com\/chaquopy\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/chaquo.com\/chaquopy\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/chaquo.com\/chaquopy\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/chaquo.com\/chaquopy\/wp-json\/wp\/v2\/comments?post=376"}],"version-history":[{"count":35,"href":"https:\/\/chaquo.com\/chaquopy\/wp-json\/wp\/v2\/pages\/376\/revisions"}],"predecessor-version":[{"id":619,"href":"https:\/\/chaquo.com\/chaquopy\/wp-json\/wp\/v2\/pages\/376\/revisions\/619"}],"wp:attachment":[{"href":"https:\/\/chaquo.com\/chaquopy\/wp-json\/wp\/v2\/media?parent=376"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}