Skip to content

Commit

Permalink
Bump intellij version.
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaspili committed Sep 5, 2019
1 parent 1d767ce commit 97b7a58
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 46 deletions.
9 changes: 4 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
buildscript {
ext.kotlin_version = '1.3.31'
ext.kotlin_version = '1.3.41'

repositories {
mavenCentral()
Expand All @@ -9,7 +9,6 @@ buildscript {
maven {
url 'https://dl.bintray.com/jetbrains/intellij-plugin-service'
}

}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
Expand All @@ -21,13 +20,13 @@ apply plugin: 'kotlin'
apply plugin: 'org.jetbrains.intellij'

group 'io.intheloup'
version '1.0-SNAPSHOT'
version '1.1-SNAPSHOT'

// See https://github.com/JetBrains/gradle-intellij-plugin/
intellij {
version 'LATEST-EAP-SNAPSHOT'
version '2019.2.1'
pluginName 'flutter-bloc-generator'
plugins = ['android', 'Kotlin', 'Gradle', 'Dart:191.7141.49', 'io.flutter:35.3.3']
plugins = ['android', 'Kotlin', 'Gradle', 'Dart:192.6262.58', 'io.flutter:39.0.5']
}

patchPluginXml {
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.3-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-5.4.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ object TemplateBuilder {

mapTemplates(bloc).forEach { template ->
val fileTemplate = manager.getInternalTemplate(template.key.name.toLowerCase())
FileTemplateUtil.createFromTemplate(fileTemplate, "${template.value}.dart", properties, destinationDirectory)
FileTemplateUtil.createFromTemplate(fileTemplate, template.value, properties, destinationDirectory)
}
}

Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion src/main/resources/fileTemplates/internal/screen.dart.ft
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class _${CLASS_NAME}ScreenState extends State<${CLASS_NAME}Screen> {
);
}

Widget _buildUI(AlertsState state) {
Widget _buildUI(${CLASS_NAME}State state) {
return Container();
}
}
2 changes: 1 addition & 1 deletion src/main/resources/fileTemplates/internal/state.dart.ft
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
library ${NAME}_state;

import 'package:${PROJECT_NAME}/presentation/presentation.dart';
import 'package:built_value/built_value.dart';

part '${NAME}_state.g.dart';

Expand Down

0 comments on commit 97b7a58

Please sign in to comment.