Subversion Repositories SmartDukaan

Rev

Rev 25716 | Rev 29901 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 25716 Rev 26216
Line 15... Line 15...
15
 
15
 
16
 
16
 
17
 
17
 
18
repositories {
18
repositories {
19
        
19
        
20
     maven { url "http://repo.maven.apache.org/maven2" }
20
     maven { url "https://repo.maven.apache.org/maven2" }
21
     mavenLocal()
21
     mavenLocal()
22
}
22
}
23
 
23
 
24
 
24
 
25
task run{
25
task run{
Line 35... Line 35...
35
    	logger.warn("Invalid key")
35
    	logger.warn("Invalid key")
36
    }
36
    }
37
    ant.propertyfile( file: "src/main/resources/META-INF/env.property"){
37
    ant.propertyfile( file: "src/main/resources/META-INF/env.property"){
38
		entry( key: "profile", value: environment)
38
		entry( key: "profile", value: environment)
39
	}
39
	}
40
	logger.info("Build is being build by "+environment)
40
	logger.warn("Build is being build by "+environment)
41
}
41
}
42
 
42
 
43
tasks.build.doLast(){
43
tasks.build.doLast(){
44
	ant.propertyfile( file: "src/main/resources/META-INF/env.property"){
44
	ant.propertyfile( file: "src/main/resources/META-INF/env.property"){
45
		entry( key: "profile", value: "dev")
45
		entry( key: "profile", value: "dev")