diff --git a/build.gradle b/build.gradle index bc63d6901..e0df6fe28 100644 --- a/build.gradle +++ b/build.gradle @@ -76,10 +76,12 @@ tasks.withType(JavaCompile) { options.encoding = "UTF-8" } +String[] excludeProjectName = new String[] {"app", "buildSrc"} + task bundleAll { group = 'Rosemoe' allprojects.forEach { - if (it.name.equals("editor") || it.name.startsWith("language-")) { + if (!excludeProjectName.contains(it)) { dependsOn it.getTasksByName("bundleReleaseAar", false) } } @@ -88,7 +90,7 @@ task bundleAll { task publishAll { group = 'Rosemoe' allprojects.forEach { - if (it.name.equals("editor") || it.name.startsWith("language-")) { + if (!excludeProjectName.contains(it)) { dependsOn it.getTasksByName("publish", false) } } diff --git a/buildSrc/src/main/java/Versions.java b/buildSrc/src/main/java/Versions.java index 790644142..0557c8c74 100644 --- a/buildSrc/src/main/java/Versions.java +++ b/buildSrc/src/main/java/Versions.java @@ -24,8 +24,8 @@ public final class Versions { // Project versions - public final static String versionName = "0.6.0"; - public final static int versionCode = 18; + public final static String versionName = "0.7.0"; + public final static int versionCode = 19; // Platform & Tool versions public final static String buildToolsVersion = "31.0.0";