Skip to content

Commit

Permalink
1.3.0-beta1
Browse files Browse the repository at this point in the history
  • Loading branch information
galenlin committed Jun 11, 2017
1 parent 37f0659 commit 13bf291
Show file tree
Hide file tree
Showing 10 changed files with 27 additions and 13 deletions.
9 changes: 9 additions & 0 deletions Android/DevSample/buildSrc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## 1.3.0-beta1 (2017-06-12)

Features:

- 支持 `annotationProcessor`,包括 ButterKnife8, Dagger2 等
- 支持 `dataBinding`

> 需要在宿主 build.gradle 里开启 `dataBinding`
## 1.2.0-alpha5 (2017-06-11)

Bugfixes:
Expand Down
2 changes: 1 addition & 1 deletion Android/DevSample/buildSrc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ gradle-small-plugin是一个gradle插件,用来打包安卓组件包。
}
dependencies {
classpath 'com.android.tools.build:gradle:1.5.0'
classpath 'net.wequick.tools.build:gradle-small:1.2.0-alpha5'
classpath 'net.wequick.tools.build:gradle-small:1.3.0-beta1'
}
}
Expand Down
2 changes: 1 addition & 1 deletion Android/DevSample/buildSrc/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@
org.gradle.daemon=true

group=net.wequick.tools.build
version=1.2.0-alpha5
version=1.3.0-beta1
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ public class RootExtension extends BaseExtension {
private static final VersionNumber REQUIRED_AAR_REVISION = VersionNumber.parse(REQUIRED_AAR_VERSION)

/** The built version of gradle-small plugin */
public static final String PLUGIN_VERSION = '1.2.0-alpha5'
public static final String PLUGIN_VERSION = '1.3.0-beta1'
public static final VersionNumber PLUGIN_REVISION = VersionNumber.parse(PLUGIN_VERSION)

private static final String BINDING_AAR_VERSION = '1.0.2'
private static final String BINDING_AAR_VERSION = '1.1.0'

/**
* Version of aar net.wequick.small:small
Expand Down
4 changes: 4 additions & 0 deletions Android/DevSample/small/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.3.0-beta1 (2017-06-12)

版本同步

## 1.2.0-alpha5 (2017-06-11)

版本同步
Expand Down
2 changes: 1 addition & 1 deletion Android/DevSample/small/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
group=net.wequick.small
version=1.2.0-alpha5
version=1.3.0-beta1
4 changes: 2 additions & 2 deletions Android/GETTING-STARTED.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:1.3.0'
classpath 'net.wequick.tools.build:gradle-small:1.2.0-alpha5'
classpath 'net.wequick.tools.build:gradle-small:1.3.0-beta1'
}
}
Expand All @@ -47,7 +47,7 @@ apply plugin: 'net.wequick.small'

```groovy
small {
aarVersion = '1.2.0-alpha5'
aarVersion = '1.3.0-beta1'
}
```

Expand Down
4 changes: 2 additions & 2 deletions Android/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@
```groovy
buildscript {
dependencies {
classpath 'net.wequick.tools.build:gradle-small:1.2.0-alpha5'
classpath 'net.wequick.tools.build:gradle-small:1.3.0-beta1'
}
}
apply plugin: 'net.wequick.small'
small {
aarVersion = '1.2.0-alpha5'
aarVersion = '1.3.0-beta1'
}
```

Expand Down
5 changes: 3 additions & 2 deletions Android/Sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

buildscript {
repositories {
// mavenLocal()
mavenLocal()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.0'
classpath 'net.wequick.tools.build:gradle-small:1.2.0-alpha5'
classpath 'net.wequick.tools.build:gradle-small:1.3.0-beta1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
Expand All @@ -27,6 +27,7 @@ task clean(type: Delete) {
apply plugin: 'net.wequick.small'

small {
aarVersion = "1.2.0-alpha5"
buildToAssets = false
android {
compileSdkVersion = 25
Expand Down
4 changes: 2 additions & 2 deletions Android/templates/activities/SmallLauncher/globals.xml.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
<global id="assetsOut" value="./app/src/main/assets" />
<global id="mavenUrl" value="mavenCentral" />
<global id="copyGradleSupported" type="boolean" value="${(compareVersions(gradlePluginVersion, '2.0') < 0)?string}" />
<global id="smallPluginVersion" value="1.2.0-alpha5" />
<global id="smallAarVersion" value="1.2.0-alpha5" />
<global id="smallPluginVersion" value="1.3.0-beta1" />
<global id="smallAarVersion" value="1.3.0-beta1" />
</globals>

0 comments on commit 13bf291

Please sign in to comment.