Skip to content

Commit

Permalink
go.mod readability improvement
Browse files Browse the repository at this point in the history
Bug: N/A
Test: Verified by loading the project in IntelliJ
Change-Id: I9fa16fbea108436a52fc3bb4b39d9a2c1a73bee5
  • Loading branch information
Usta Shrestha committed Nov 16, 2022
1 parent ed97297 commit 914bbeb
Showing 1 changed file with 15 additions and 18 deletions.
33 changes: 15 additions & 18 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,24 +1,21 @@
module android/soong

require google.golang.org/protobuf v0.0.0

require github.com/google/blueprint v0.0.0

replace google.golang.org/protobuf v0.0.0 => ../../external/golang-protobuf

replace github.com/google/blueprint v0.0.0 => ../blueprint
require (
google.golang.org/protobuf v0.0.0
github.com/google/blueprint v0.0.0
prebuilts/bazel/common/proto/analysis_v2 v0.0.0
prebuilts/bazel/common/proto/build v0.0.0 // indirect
)

replace (
google.golang.org/protobuf v0.0.0 => ../../external/golang-protobuf
github.com/google/blueprint v0.0.0 => ../blueprint
github.com/google/go-cmp v0.5.5 => ../../external/go-cmp
prebuilts/bazel/common/proto/analysis_v2 => ../../prebuilts/bazel/common/proto/analysis_v2
prebuilts/bazel/common/proto/build => ../../prebuilts/bazel/common/proto/build
)

// Indirect deps from golang-protobuf
exclude github.com/golang/protobuf v1.5.0

replace github.com/google/go-cmp v0.5.5 => ../../external/go-cmp

require prebuilts/bazel/common/proto/analysis_v2 v0.0.0

replace prebuilts/bazel/common/proto/analysis_v2 => ../../prebuilts/bazel/common/proto/analysis_v2

require prebuilts/bazel/common/proto/build v0.0.0 // indirect

replace prebuilts/bazel/common/proto/build => ../../prebuilts/bazel/common/proto/build

go 1.18
go 2.0

0 comments on commit 914bbeb

Please sign in to comment.