From ba37eddca308d885acb3d24f11c162702d4dadc5 Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 17 Apr 2020 00:35:30 +0800 Subject: [PATCH] uses plugin dsl --- build.gradle | 7 +------ nativelib/build.gradle | 6 +++++- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/build.gradle b/build.gradle index 53c88b3..958dcde 100644 --- a/build.gradle +++ b/build.gradle @@ -8,18 +8,13 @@ buildscript { } dependencies { classpath 'com.android.tools.build:gradle:3.5.2' - classpath fileTree(dir: 'gradle-xmake-plugin/build/libs', include: ['*.jar']) + //classpath fileTree(dir: 'gradle-xmake-plugin/build/libs', include: ['*.jar']) // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } } -/* -plugins { - id 'org.tboox.gradle-xmake-plugin' version '1.0.5' -}*/ - allprojects { repositories { google() diff --git a/nativelib/build.gradle b/nativelib/build.gradle index da1cec9..2b0d84c 100644 --- a/nativelib/build.gradle +++ b/nativelib/build.gradle @@ -1,5 +1,9 @@ +plugins { + id 'org.tboox.gradle-xmake-plugin' version '1.0.6' +} + apply plugin: 'com.android.library' -apply plugin: "org.tboox.gradle-xmake-plugin" +//apply plugin: "org.tboox.gradle-xmake-plugin" android { compileSdkVersion 29