Skip to content

Commit

Permalink
🚀 插件升级到1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
taoszu committed Nov 8, 2018
1 parent dc3f653 commit ab412a8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
9 changes: 5 additions & 4 deletions app/src/main/java/com/taoszu/configurer/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
import android.support.v7.app.AppCompatActivity;
import android.util.Log;

import com.taoszu.configurer.apt.StudentFactory;

public class MainActivity extends AppCompatActivity {
@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
Expand All @@ -14,11 +16,10 @@ protected void onCreate(@Nullable Bundle savedInstanceState) {


FactoryHub.load();
Log.e("Factory", FactoryHub.factoryMap.toString());
//StudentFactory studentFactory = (StudentFactory) FactoryHub.getFactoryInstance("student");
/* for (BaseStudent worker : studentFactory.workerMap.values()) {
StudentFactory studentFactory = (StudentFactory) FactoryHub.getFactoryInstance("student");
for (BaseStudent worker : studentFactory.workerMap.values()) {
worker.printName();
}*/
}


}
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ buildscript {
classpath 'com.novoda:bintray-release:0.4.0'

if (Boolean.valueOf(applyConfigurerPlugin)) {
classpath 'com.taoszu.configurer:plugin:1.0.6'
classpath 'com.taoszu.configurer:plugin:1.1.0'
}

// NOTE: Do not place your application dependencies here; they belong
Expand Down
2 changes: 1 addition & 1 deletion gradle-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ publish {
userOrg = 'taoszu'
groupId = 'com.taoszu.configurer'
artifactId = 'plugin'
publishVersion = '1.1.0'
publishVersion = '1.1.1'
desc = 'Configurer plugin'
website = 'https://github.com/taoszu/Configurer'
autoPublish = true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import org.gradle.api.plugins.ExtraPropertiesExtension

class ConfigurerPlugin implements Plugin<Project> {

String DEFAULT_PROCESSOR_VERSION = "1.0.2"
String DEFAULT_PROCESSOR_VERSION = "1.1.0"

@Override
void apply(Project project) {
Expand Down

0 comments on commit ab412a8

Please sign in to comment.