mirror of
https://github.com/tadfisher/gradle2nix.git
synced 2026-01-12 07:50:53 -05:00
Use custom dependency resolution
- Use Apache Ivy to resolve artifact URLs - Update build model with full artifact IDs - Generate Maven module metadata to support dynamic version constraints - Resolve snapshot versions and generate snapshot metadata - Add test fixtures and rewrite Gradle plugin tests - Update dependencies
This commit is contained in:
20
fixtures/ivy/basic/kotlin/build.gradle.kts
Normal file
20
fixtures/ivy/basic/kotlin/build.gradle.kts
Normal file
@@ -0,0 +1,20 @@
|
||||
plugins {
|
||||
java
|
||||
}
|
||||
|
||||
repositories {
|
||||
ivy {
|
||||
url = uri("https://asset.opendof.org")
|
||||
layout("pattern") {
|
||||
this as IvyPatternRepositoryLayout
|
||||
ivy("ivy2/[organisation]/[module]/[revision]/ivy(.[platform]).xml")
|
||||
artifact("artifact/[organisation]/[module]/[revision](/[platform])(/[type]s)/[artifact]-[revision](-[classifier]).[ext]")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
dependencies {
|
||||
implementation("org.opendof.core-java:dof-cipher-sms4:1.0")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user