Commits

shemnon committed 7266871

move cssToBin to between processResources and classes

Comments (0)

Files changed (1)

plugin/src/main/groovy/com/bitbucket/shemnon/javafxplugin/JavaFXPlugin.groovy

             project.fileTree(dir: convention.getPlugin(JavaPluginConvention).sourceSets.main.output.resourcesDir, include: '**/*.css')
         }
 
+        project.tasks.getByName("classes").dependsOn(task)
+        task.dependsOn(project.tasks.getByName("processResources"))
     }
 
     private configureJavaFXJarTask(Project project) {
             Configuration providedCompile = project.configurations[PROVIDED_COMPILE_CONFIGURATION_NAME];
             FileCollection output = compileClasspath - providedCompile;
         }
-
-        task.dependsOn(project.tasks.getByName("cssToBin"))
-
     }
 
     private configureGenerateDebugKeyTask(Project project) {
 
         task.conventionMapping.antJavaFXJar = {convention, aware -> convention.getPlugin(JavaFXPluginConvention).antJavaFXJar }
 
-        ['alias', 'keypass', 'storepass', 'storetype'].each { prop ->
+        ['alias', 'keypass', 'storepass', 'keystore'].each { prop ->
             task.conventionMapping[prop]  = {convention, aware ->
                 def jfxc = convention.getPlugin(JavaFXPluginConvention);
                 def props = project.properties