clojuresque / clojuresque / src / main / groovy / clojuresque / ClojureBasePlugin.groovy

The default branch has multiple heads

Diff from to

clojuresque/src/main/groovy/clojuresque/ClojureBasePlugin.groovy

 import org.gradle.api.plugins.MavenPlugin
 import org.gradle.api.tasks.Upload
 
-import java.io.InputStreamReader
-import java.util.Properties
-
 public class ClojureBasePlugin implements Plugin<Project> {
     public void apply(Project project) {
         project.apply plugin: JavaPlugin.class
         configureClojarsUpload(project)
     }
 
-    private Properties getProperties() {
-        Properties props = new Properties()
-        InputStreamReader propStream =
-            new InputStreamReader(this.class.getResourceAsStream("clojuresque.properties"), "UTF-8")
-
-        try {
-            props.load(propStream)
-        } finally {
-            propStream.close()
-        }
-
-        return props
-    }
-
     private void configureConfigurations(Project project) {
         project.configurations {
             clojuresque {
         }
         project.dependencies {
             clojuresque group: "clojuresque", name: "clojuresque-runtime",
-                version: this.properties.getProperty("clojuresque.version")
+                version: Util.properties.getProperty("clojuresque.version")
         }
     }
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.