Skip to content

Commit

Permalink
1.2.0-beta4
Browse files Browse the repository at this point in the history
  • Loading branch information
galenlin committed May 11, 2017
1 parent 112941f commit 70eb9fe
Show file tree
Hide file tree
Showing 10 changed files with 36 additions and 12 deletions.
12 changes: 12 additions & 0 deletions Android/DevSample/buildSrc/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
## 1.2.0-beta4 (2017-05-09)

Features:

- 增加 `gradlew smallLint` 方法,用于检测插件编译问题

Bugfixes:

- 修正 transform 目录冲突引起的 syncLibs 异常 (@xufan)
- 修正误提示:'请使用 gradle-small 0.9 以上编译' 的问题 (#313)
- 修正 Jar 中的 assets 资源被重复打包进插件的问题 (@xufan)

## 1.2.0-beta3 (2017-03-27)

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-beta3'
classpath 'net.wequick.tools.build:gradle-small:1.2.0-beta4'
}
}
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-beta3
version=1.2.0-beta4
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ 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.1.0-alpha2'
public static final String PLUGIN_VERSION = '1.2.0-beta4'
public static final VersionNumber PLUGIN_REVISION = VersionNumber.parse(PLUGIN_VERSION)

/**
Expand Down
12 changes: 12 additions & 0 deletions Android/DevSample/small/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
## 1.2.0-beta4 (2017-05-09)

Features:

- 支持在插件中配置 `android:configChanges` 属性
- 支持在 bundle.json 中的 `rules` 通过 "" key 来配置主路由

Bugfixes:

- 修正在预装了 LBE 的系统上无法正确 hook mH 导致的崩溃问题 (@xufan)
- 修正插件manifest中未注册任何 Activity 时出现的空指针问题

## 1.2.0-beta3 (2017-03-27)

版本同步
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-beta3
version=1.2.0-beta4
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-beta3'
classpath 'net.wequick.tools.build:gradle-small:1.2.0-beta4'
}
}
Expand All @@ -47,7 +47,7 @@ apply plugin: 'net.wequick.small'

```groovy
small {
aarVersion = '1.2.0-beta3'
aarVersion = '1.2.0-beta4'
}
```

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-beta3'
classpath 'net.wequick.tools.build:gradle-small:1.2.0-beta4'
}
}
apply plugin: 'net.wequick.small'
small {
aarVersion = '1.2.0-beta3'
aarVersion = '1.2.0-beta4'
}
```

Expand Down
4 changes: 2 additions & 2 deletions Android/Sample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@ buildscript {
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.0'
classpath 'net.wequick.tools.build:gradle-small:1.2.0-beta3'
classpath 'net.wequick.tools.build:gradle-small:1.2.0-beta4'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}

allprojects {
repositories {
// mavenLocal()
jcenter()
}
}
Expand All @@ -27,7 +28,6 @@ apply plugin: 'net.wequick.small'

small {
buildToAssets = false
aarVersion = '1.2.0-beta3'
android {
compileSdkVersion = 25
buildToolsVersion = "25.0.2"
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-beta3" />
<global id="smallAarVersion" value="1.2.0-beta3" />
<global id="smallPluginVersion" value="1.2.0-beta4" />
<global id="smallAarVersion" value="1.2.0-beta4" />
</globals>

0 comments on commit 70eb9fe

Please sign in to comment.