Skip to content

Commit ec4095a

Browse files
committed
improved dependency version constraints, upgraded kotlinx-coroutines-core version
1 parent 662aeca commit ec4095a

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

build.gradle.kts

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* along with this program. If not, see <http://www.gnu.org/licenses/>.
1616
*
1717
*/
18-
@file:Suppress("SpellCheckingInspection")
18+
@file:Suppress("SpellCheckingInspection", "UnstableApiUsage")
1919

2020
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
2121

@@ -33,14 +33,19 @@ repositories {
3333
}
3434

3535
dependencies {
36-
compile ("com.github.hotzkow:platformInterfaceLib:2.4.1") // in theory it should be 'api', but for some reason that does not work for transitive classpath dependencies
36+
compile ("com.github.hotzkow:platformInterfaceLib") {
37+
// in theory it should be 'api', but for some reason that does not work for transitive classpath dependencies
38+
version {
39+
require("[2.4.1,2.5[")
40+
}
41+
}
3742
implementation ("com.natpryce:konfig:1.6.6.0") // configuration library
3843
implementation ("org.slf4j:slf4j-api:1.7.25")
3944

4045
// we need the jdk dependency instead of stdlib to have enhanced java features like tue 'use' function for try-with-resources
4146
implementation (group= "org.jetbrains.kotlin", name= "kotlin-stdlib-jdk8")
4247
implementation ("org.jetbrains.kotlin:kotlin-reflect") // because we need reflection to get annotated property values
43-
implementation ("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.1.0")
48+
implementation ("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.1.1")
4449

4550
testImplementation (group= "junit", name= "junit", version= "4.12")
4651
}

0 commit comments

Comments
 (0)