BAEL-586 moved code to com.baeldung.kotlin package, use version properties in pom.xml
This commit is contained in:
		
							parent
							
								
									fde39503a3
								
							
						
					
					
						commit
						9512edb667
					
				| @ -12,18 +12,18 @@ | ||||
|         <dependency> | ||||
|             <groupId>org.jetbrains.kotlin</groupId> | ||||
|             <artifactId>kotlin-stdlib</artifactId> | ||||
|             <version>1.0.4</version> | ||||
|             <version>${kotlin-stdlib.version}</version> | ||||
|         </dependency> | ||||
|         <dependency> | ||||
|             <groupId>org.jetbrains.kotlin</groupId> | ||||
|             <artifactId>kotlin-test-junit</artifactId> | ||||
|             <version>1.0.4</version> | ||||
|             <version>${kotlin-test-junit.version}</version> | ||||
|             <scope>test</scope> | ||||
|         </dependency> | ||||
|         <dependency> | ||||
|             <groupId>junit</groupId> | ||||
|             <artifactId>junit</artifactId> | ||||
|             <version>4.12</version> | ||||
|             <version>${junit.version}</version> | ||||
|             <scope>test</scope> | ||||
|         </dependency> | ||||
|     </dependencies> | ||||
| @ -35,7 +35,7 @@ | ||||
|             <plugin> | ||||
|                 <artifactId>kotlin-maven-plugin</artifactId> | ||||
|                 <groupId>org.jetbrains.kotlin</groupId> | ||||
|                 <version>1.0.4</version> | ||||
|                 <version>${kotlin-maven-plugin.version}</version> | ||||
|                 <executions> | ||||
|                     <execution> | ||||
|                         <id>compile</id> | ||||
| @ -55,4 +55,11 @@ | ||||
|         </plugins> | ||||
|     </build> | ||||
| 
 | ||||
|     <properties> | ||||
|         <junit.version>4.12</junit.version> | ||||
|         <kotlin-test-junit.version>1.0.4</kotlin-test-junit.version> | ||||
|         <kotlin-stdlib.version>1.0.4</kotlin-stdlib.version> | ||||
|         <kotlin-maven-plugin.version>1.0.4</kotlin-maven-plugin.version> | ||||
|     </properties> | ||||
| 
 | ||||
| </project> | ||||
| @ -1,4 +1,4 @@ | ||||
| package com.baeldung | ||||
| package com.baeldung.kotlin | ||||
| 
 | ||||
| fun main(args: Array<String>){ | ||||
|     println("hello word") | ||||
| @ -1,4 +1,4 @@ | ||||
| package com.baeldung | ||||
| package com.baeldung.kotlin | ||||
| 
 | ||||
| open class Item(val id: String, val name: String = "unknown_name") { | ||||
|     open fun getIdOfItem(): String { | ||||
| @ -1,4 +1,4 @@ | ||||
| package com.baeldung | ||||
| package com.baeldung.kotlin | ||||
| 
 | ||||
| import java.util.* | ||||
| 
 | ||||
| @ -1,4 +1,4 @@ | ||||
| package com.baeldung | ||||
| package com.baeldung.kotlin | ||||
| 
 | ||||
| import java.util.concurrent.ThreadLocalRandom | ||||
| 
 | ||||
| @ -1,4 +1,4 @@ | ||||
| package com.baeldung | ||||
| package com.baeldung.kotlin | ||||
| 
 | ||||
| import org.junit.Test | ||||
| import kotlin.test.assertNotNull | ||||
| @ -1,5 +1,6 @@ | ||||
| package com.baeldung | ||||
| package com.baeldung.kotlin | ||||
| 
 | ||||
| import com.baeldung.kotlin.ListExtension | ||||
| import org.junit.Test | ||||
| import kotlin.test.assertTrue | ||||
| 
 | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user