File tree Expand file tree Collapse file tree
src/main/groovy/net/wequick/gradle
templates/activities/SmallLauncher Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ## 1.3.0-beta1 (2017-06-12)
2+
3+ Features:
4+
5+ - 支持 ` annotationProcessor ` ,包括 ButterKnife8, Dagger2 等
6+ - 支持 ` dataBinding `
7+
8+ > 需要在宿主 build.gradle 里开启 ` dataBinding `
9+
110## 1.2.0-alpha5 (2017-06-11)
211
312Bugfixes:
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ gradle-small-plugin是一个gradle插件,用来打包安卓组件包。
1212 }
1313 dependencies {
1414 classpath 'com.android.tools.build:gradle:1.5.0'
15- classpath 'net.wequick.tools.build:gradle-small:1.2 .0-alpha5 '
15+ classpath 'net.wequick.tools.build:gradle-small:1.3 .0-beta1 '
1616 }
1717 }
1818
Original file line number Diff line number Diff line change 2020org.gradle.daemon =true
2121
2222group =net.wequick.tools.build
23- version =1.2 .0-alpha5
23+ version =1.3 .0-beta1
Original file line number Diff line number Diff line change @@ -35,10 +35,10 @@ public class RootExtension extends BaseExtension {
3535 private static final VersionNumber REQUIRED_AAR_REVISION = VersionNumber . parse(REQUIRED_AAR_VERSION )
3636
3737 /* * The built version of gradle-small plugin */
38- public static final String PLUGIN_VERSION = ' 1.2 .0-alpha5 '
38+ public static final String PLUGIN_VERSION = ' 1.3 .0-beta1 '
3939 public static final VersionNumber PLUGIN_REVISION = VersionNumber . parse(PLUGIN_VERSION )
4040
41- private static final String BINDING_AAR_VERSION = ' 1.0.2 '
41+ private static final String BINDING_AAR_VERSION = ' 1.1.0 '
4242
4343 /**
4444 * Version of aar net.wequick.small:small
Original file line number Diff line number Diff line change 1+ ## 1.3.0-beta1 (2017-06-12)
2+
3+ 版本同步
4+
15## 1.2.0-alpha5 (2017-06-11)
26
37版本同步
Original file line number Diff line number Diff line change 11group =net.wequick.small
2- version =1.2 .0-alpha5
2+ version =1.3 .0-beta1
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ buildscript {
3232 }
3333 dependencies {
3434 classpath 'com.android.tools.build:gradle:1.3.0'
35- classpath 'net.wequick.tools.build:gradle-small:1.2 .0-alpha5 '
35+ classpath 'net.wequick.tools.build:gradle-small:1.3 .0-beta1 '
3636 }
3737}
3838
@@ -47,7 +47,7 @@ apply plugin: 'net.wequick.small'
4747
4848``` groovy
4949small {
50- aarVersion = '1.2 .0-alpha5 '
50+ aarVersion = '1.3 .0-beta1 '
5151}
5252```
5353
Original file line number Diff line number Diff line change 2626 ` ` ` groovy
2727 buildscript {
2828 dependencies {
29- classpath ' net.wequick.tools.build:gradle-small:1.2 .0-alpha5 '
29+ classpath ' net.wequick.tools.build:gradle-small:1.3 .0-beta1 '
3030 }
3131 }
3232
3333 apply plugin: ' net.wequick.small'
3434
3535 small {
36- aarVersion = ' 1.2 .0-alpha5 '
36+ aarVersion = ' 1.3 .0-beta1 '
3737 }
3838 ` ` `
3939
Original file line number Diff line number Diff line change 22
33buildscript {
44 repositories {
5- // mavenLocal()
5+ mavenLocal()
66 jcenter()
77 }
88 dependencies {
99 classpath ' com.android.tools.build:gradle:2.3.0'
10- classpath ' net.wequick.tools.build:gradle-small:1.2 .0-alpha5 '
10+ classpath ' net.wequick.tools.build:gradle-small:1.3 .0-beta1 '
1111 // NOTE: Do not place your application dependencies here; they belong
1212 // in the individual module build.gradle files
1313 }
@@ -27,6 +27,7 @@ task clean(type: Delete) {
2727apply plugin : ' net.wequick.small'
2828
2929small {
30+ aarVersion = " 1.2.0-alpha5"
3031 buildToAssets = false
3132 android {
3233 compileSdkVersion = 25
Original file line number Diff line number Diff line change 55 <global id =" assetsOut" value =" ./app/src/main/assets" />
66 <global id =" mavenUrl" value =" mavenCentral" />
77 <global id =" copyGradleSupported" type =" boolean" value =" ${(compareVersions(gradlePluginVersion, '2.0') < 0)?string}" />
8- <global id =" smallPluginVersion" value =" 1.2 .0-alpha5 " />
9- <global id =" smallAarVersion" value =" 1.2 .0-alpha5 " />
8+ <global id =" smallPluginVersion" value =" 1.3 .0-beta1 " />
9+ <global id =" smallAarVersion" value =" 1.3 .0-beta1 " />
1010</globals >
You can’t perform that action at this time.
0 commit comments